Re: maximum number of processes on kernel 2.4.x
> Does anybody know how to change the maximum number of tasks/processes
> available under the 2.4.x kernels, similar to tuning NR_TASKS and
> MAX_TASKS_PER_USER in 2.2.x and 2.3.x? Our mail software sometimes
> requires a large number of processes, and we cannot ssh into the server
> once the number of processes belonging to root reaches 256.
> Thanks for any help that you can provide,
I'm set max. processes count (using "ulimit -u") in sendmail start script
(right before first (parent to others) daemon is executed) and in sendmail
config file ("MaxDaemonChildren" parameter). And so on for all other daemons.
Summary, if all services runs max. available children count, there is some
available processes (total running processes count lesser than max. available
processes) and free virtual memory for run some sshd and shells to log on. I
think, there is no need to change kernel data structures.
P.S. Excuse me for my ugly English. :)
With Best Regards,
Denis A. Kulgeyko
UNIXes ... they are VERY friendly.
But .. they chooses their friends VERY carefully ... :)