lkml.org 
[lkml]   [2000]   [Jan]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: Changes in fork ?
Date
From
> I have a question about fork() (?) behaviour. The problem shows itself as
> truncated lines in ps output on processes that are forked outta daemons
> which use setproctitle() (from sendmail sources) such as sendmail, inetd
> etc. All's fine on 2.2.xx kernels, but I have the following under 2.3.xx :

> 701 ? S 0:13 inetd
> 2765 ? S 0:01 \_ ftpd: 19

If it's looking for a `problem' in fork, etc, I can't help.

If you want a simple way to have a long string in your FTPD strings, I have a
configuration (no changes to src code needed) HACK which works a treat !

Pick a random boolean flag which can be repeated, and pass that flag to the
command lots of times in its original cmmand line ...

% grep ftp /etc/inetd.conf
ftp stream tcp nowait root /usr/sbin/tcpd /usr/sbin/in.ftpd -aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
% ps axw | grep ftpX*d
18534 ? S 0:00 ftpd: pgp.net/c73815-a.roalok1.mi.home.com: ftp/IE40user@: IDLE
%

[ I've HACKed wu-ftpd to include the virtual host name ]

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

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