personal_responsibility_on_sdf_s_multi-user_environment
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
personal_responsibility_on_sdf_s_multi-user_environment [2021/03/09 20:36] – hc9 | personal_responsibility_on_sdf_s_multi-user_environment [2024/09/06 06:19] (current) – ls” hc9 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Personal Responsibility on SDF's Multi-User Environment ====== | ||
+ | |||
+ | As SDF's mission is to support the advancement of public education, cultural enrichment, scientific research and recreation, you are // | ||
+ | |||
+ | The ‘top’ command is a great tool if you want to see what is causing system sluggishness, | ||
+ | |||
+ | If you observe system use that is bringing the system to its knees, please reach out to the user to let them know. Email is an obvious way to contact them, or try checking their SDF web or gopher site for other contact information. If that fails, make a post on [[: | ||
+ | |||
+ | Beyond simply monitoring your resource usage, you can set limits that will prevent a misfiring program from consuming excessive resources. This is especially important for MetaARPA members who have higher limits on system resource usage. | ||
+ | |||
+ | Most shells have a **ulimit** command which can be used to view or set limits. See '' | ||
+ | |||
+ | '' | ||
+ | |||
+ | < | ||
+ | user@fnord.sdf.org $ ulimit -a | ||
+ | core file size (blocks, -c) 0 | ||
+ | data seg size | ||
+ | scheduling priority | ||
+ | file size | ||
+ | pending signals | ||
+ | max locked memory | ||
+ | max memory size | ||
+ | open files (-n) 1024 | ||
+ | pipe size (512 bytes, -p) 8 | ||
+ | POSIX message queues | ||
+ | real-time priority | ||
+ | stack size (kbytes, -s) 8192 | ||
+ | cpu time | ||
+ | max user processes | ||
+ | virtual memory | ||
+ | file locks (-x) unlimited | ||
+ | </ | ||
+ | |||
+ | You can see from this display that the user has unlimited cpu time. To add a 1000 second limit to cpu time, issue the following command: | ||
+ | |||
+ | '' | ||
+ | |||
+ | Note that, once set, you cannot increase the limit without killing the limited process and starting a new one. If you run this command directly from the shell, you will need to log out of the shell and back in again to reset it. | ||
+ | |||
+ | $Id: multiuser-responsibility.html, | ||