lkml.org 
[lkml]   [1996]   [Sep]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectminor kill and mmap problem
I reported earlier that 
kill -1 pid of nfsd
run two times on one of my systems (named pokie) killed the nfsd
On another system (named elsie) it did not.

The first system (pokie) is P5-133, 96 MB RAM, AHA2940.
The second system (elsie) is P5-100, 48 MB RAM, ide.

I did an strace of
kill -1 pid of nfsd on each and here is a diff on those.

Also, after starting nfs, I did an strace of kill -1 pid of nfsd on
pokie twice and got no difference,



sen1@pokie tmp]$ diff strace.log.pokie strace.log.elsie
2c2
< stat("/etc/ld.so.cache", {st_mode=S_IFREG|0644, st_size=6531, ...}) =
0
---
> stat("/etc/ld.so.cache", {st_mode=S_IFREG|0644, st_size=3463, ...}) =
0
4c4
< mmap(0, 6531, PROT_READ, MAP_SHARED, 3, 0) = 0x40007000
---
> mmap(0, 3463, PROT_READ, MAP_SHARED, 3, 0) = 0x40007000
8,11c8,11
< mmap(0, 811008, PROT_NONE, MAP_PRIVATE|0x20, 4294967295, 0) =
0x40009000
< mmap(0x40009000, 582809, PROT_READ|PROT_WRITE|PROT_EXEC,
MAP_PRIVATE|MAP_FIXED, 3, 0) = 0x40009000
< mmap(0x40098000, 21452, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED,
3, 0x8e000) = 0x40098000
< mmap(0x4009e000, 199588, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|0x20, 4294967295, 0) = 0x4009e000
---
> mmap(0, 811008, PROT_NONE, MAP_PRIVATE|0x20, 4294967295, 0) =
0x40008000
> mmap(0x40008000, 582809, PROT_READ|PROT_WRITE|PROT_EXEC,
MAP_PRIVATE|MAP_FIXED, 3, 0) = 0x40008000
> mmap(0x40097000, 21452, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED,
3, 0x8e000) = 0x40097000
> mmap(0x4009d000, 199588, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|0x20, 4294967295, 0) = 0x4009d000
13c13
< munmap(0x40007000, 6531) = 0
---
> munmap(0x40007000, 3463) = 0
15c15
< kill(346, SIGHUP) = 0
---
> kill(114, SIGHUP) = 0


This is not a big problem for me since I have only a few users on these
systems and can easily start and stop nfsd. On big systems with many
users, it may cause problems when the /etc/exports file needs to be read
again.

-sen

---------------------------------------------------------------------------
| Sheldon E. Newhouse | e-mail: sen1@math.msu.edu |
| Mathematics Department | |
| Michigan State University | telephone: 517-355-9684 |
| E. Lansing, MI 48824-1027 USA | FAX: 517-432-1562 |
---------------------------------------------------------------------------

\
 
 \ /
  Last update: 2005-03-22 13:38    [W:0.267 / U:0.044 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site