Re: maximum number of processes on kernel 2.4.x
Hello ! > 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, > > Wayne 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 DK666-UANIC e-mail: [EMAIL PROTECTED] ICQ: 81607525 SMS: [EMAIL PROTECTED] -- UNIXes ... they are VERY friendly. But .. they chooses their friends VERY carefully ... :) ^]:wq! -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Bandwidth limiting
> My users are using all the outgoing bandwidth by downloading files thru > FTP, port 20. This results in the eMail and Web being unusable, even if > they really don't need much by themselves. > > I head BSD has this kind of bandwidth limiting possibilities. > What about Deb ? > > I tried limiting the packet size, but it really doesn't do much. > Hope there is a solution somewhere, besides shutting down the FTP. I'm redirecting some outgoing traffic (with dest. ports 80:81 and so on to squid and with dest. ports 20:21 to frox) via firewall and using squid with delay_pools + frox with redirecting traffic to squid (where it goes through delay_pools). One moment - frox seems to be unstable. -- With Best Regards, Denis A. Kulgeyko DK666-UANIC e-mail: [EMAIL PROTECTED] ICQ: 81607525 SMS: [EMAIL PROTECTED] -- UNIXes ... they are VERY friendly. But .. they chooses their friends VERY carefully ... :) ^]:wq!
Re: Bandwidth limiting
> My users are using all the outgoing bandwidth by downloading files thru > FTP, port 20. This results in the eMail and Web being unusable, even if > they really don't need much by themselves. > > I head BSD has this kind of bandwidth limiting possibilities. > What about Deb ? > > I tried limiting the packet size, but it really doesn't do much. > Hope there is a solution somewhere, besides shutting down the FTP. I'm redirecting some outgoing traffic (with dest. ports 80:81 and so on to squid and with dest. ports 20:21 to frox) via firewall and using squid with delay_pools + frox with redirecting traffic to squid (where it goes through delay_pools). One moment - frox seems to be unstable. -- With Best Regards, Denis A. Kulgeyko DK666-UANIC e-mail: [EMAIL PROTECTED] ICQ: 81607525 SMS: [EMAIL PROTECTED] -- UNIXes ... they are VERY friendly. But .. they chooses their friends VERY carefully ... :) ^]:wq! -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]