View Single Post
  #5  
Old 23rd February 2008, 19:31
tarasbuljba tarasbuljba is offline
Junior Member
 
Join Date: Dec 2007
Posts: 16
Thanks: 1
Thanked 0 Times in 0 Posts
Default

I get this for strace -p on main master pid

Code:
time(NULL)                              = 1203790938
read(10, "\0", 1)                       = 1
read(10, 0xbfca762b, 1)                 = -1 EAGAIN (Resource temporarily unavailable)
waitpid(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 1}], WNOHANG) = 22929
time(NULL)                              = 1203790938
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2917, ...}) = 0
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2917, ...}) = 0
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2917, ...}) = 0
send(3, "<20>Feb 23 19:22:18 postfix/mast"..., 120, MSG_NOSIGNAL) = 120
time(NULL)                              = 1203790938
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2917, ...}) = 0
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2917, ...}) = 0
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2917, ...}) = 0
send(3, "<20>Feb 23 19:22:18 postfix/mast"..., 123, MSG_NOSIGNAL) = 123
time(NULL)                              = 1203790938
waitpid(-1, 0xbfca7804, WNOHANG)        = 0
alarm(333)                              = 333
time(NULL)                              = 1203790938
select(94, [10 11 12 15 18 21 23 24 27 29 30 32 33 35 36 38 39 41 42 44 45 47 48 50 51 53 54 56 57 59 60 62 63 65 66 68 69 71 72 74 75 77 78 80 81 83 84 86 87 89 90 92 93], [], [10 11 12 15 18 21 23 24 27 29 30 32 33 35 36 38 39 41 42 44 45 47 48 50 51 53 54 56 57 59 60 62 63 65 66 68 69 71 72 74 75 77 78 80 81 83 84 86 87 89 90 92 93], {34, 0}
I noticed something else, when i use that virtual things with grep postfix i get
Code:
root     22887  0.0  0.1   6704  1748 ?        Ss   19:21   0:00 /usr/libexec/postfix/master
postfix  22889  0.0  0.1   6768  1736 ?        S    19:21   0:00 pickup -l -t fifo -u
postfix  22890  0.0  0.1   6828  1828 ?        S    19:21   0:00 qmgr -l -t fifo -u
And when i don't use them i get many more...
Code:
root     23114  0.0  0.1   6704  1748 ?        Ss   19:26   0:00 /usr/libexec/postfix/master
postfix  23116  0.0  0.1   6772  1784 ?        S    19:26   0:00 pickup -l -t fifo -u
postfix  23117  0.0  0.1   6828  1844 ?        S    19:26   0:00 qmgr -l -t fifo -u
postfix  23118  0.0  0.1   6892  1888 ?        S    19:26   0:00 cleanup -z -t unix -u
postfix  23119  0.0  0.1   6776  1736 ?        S    19:26   0:00 trivial-rewrite -n rewrite -t unix -u
postfix  23120  0.0  0.2   6932  2304 ?        S    19:26   0:00 smtp -t unix -u
postfix  23121  0.0  0.1   6764  1820 ?        S    19:26   0:00 tlsmgr -l -t unix -u
postfix  23122  0.0  0.1   6892  1884 ?        S    19:26   0:00 cleanup -z -t unix -u
postfix  23123  0.0  0.2   6936  2316 ?        S    19:26   0:00 smtp -t unix -u
postfix  23124  0.0  0.2   6936  2316 ?        S    19:26   0:00 smtp -t unix -u
postfix  23125  0.0  0.2   6936  2316 ?        S    19:26   0:00 smtp -t unix -u
Now that is weird a bit :/
Reply With Quote