Question about program run out of memory
hi,
I encountered such a problem when a program have some bug that it will ask for endless memory, until the system completely dead, I can only reboot it. Can I do some restriction of the max memory per process? Thanks!
___________________________________________________________
ÑÅ»¢ÓÊÏ䣬ÄúµÄÖÕÉúÓÊÏ䣡
http://cn.mail.yahoo.com/
--
To unsubscribe from this list: send the line "unsubscribe linux-admin" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Check out ulimit. It controls a number of parameters such as maximum memory size, core dump size, open file descriptors...
Quoted 8 lines · 梁晨
hi,
I encountered such a problem when a program have some bug that it will ask for endless memory, until the system completely dead, I can only reboot it. Can I do some restriction of the max memory per process? Thanks!
Quoted 7 lines
___________________________________________________________雅虎邮箱,您的终生邮箱!
http://cn.mail.yahoo.com/
--
To unsubscribe from this list: send the line "unsubscribe linux-admin" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe linux-admin" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Sorry I can't pronounce or reproduce your name;
Have a look at /etc/security/limits.conf if the system uses pam.
Quoted 12 lines · 梁晨
hi,
I encountered such a problem when a program have some bug that it will ask for endless memory, until the system completely dead, I can only reboot it. Can I do some restriction of the max memory per process? Thanks!___________________________________________________________雅虎邮箱,您的终生邮箱!
http://cn.mail.yahoo.com/
--
To unsubscribe from this list: send the line "unsubscribe linux-admin" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Signature · 15 lines
Yuri Csapo Academic Computing & Networking Colorado School of Mines CT-256 Phone: (303) 273-3503 Fax: (303) 273-3475 Email: [email protected] Please use the following link to open a service request: http://helpdesk.mines.edu =========================================== With a PC, I always felt limited by the software available. On Unix, I am limited only by my knowledge. --Peter J. Schoenster