The other day I noticed I was getting e-mails from my Freenas with the following message:
subject: Cron <operator@freenas> /usr/libexec/save-entropy
message: /usr/libexec/save-entropy: Cannot fork: Resource temporarily unavailable
When I got home from work I rebooted the box and didn't think much of it. Today the e-mails where back and I figured I should look more into the issue.
I logged on to the web-console and saw something like this in the whatchamacallit at the bottom:
freenas kernel: maxproc limit exceeded by uid 0 (pid 23661); see tuning(7) and login.conf(5)
After a little while the web console stopped responding and I logged on to the IPMI-console and rebooted again.
When Freenas was booted again I tried looking into this PID-thing and from what I can reckon Java is hogging the cpu.
output of top-command:
PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMMAND
26409 root 1 121 19 1170M 963M CPU0 0 13:09 100.00% java
31284 root 2 21 0 102M 20944K select 3 0:01 1.46% python2.
26000 root 1 39 19 1170M 963M futex 0 0:13 0.78% java
30810 transmission 3 20 0 117M 45264K select 1 0:06 0.39% transmis
3771 root 6 20 0 311M 114M usem 2 0:06 0.00% python2.
5115 root 12 20 0 145M 13904K uwait 2 0:02 0.00% collectd
25999 root 1 52 19 1170M 963M futex 0 0:02 0.00% java
4919 nobody 1 20 0 9908K 2312K select 0 0:01 0.00% mdnsd
22324 www 1 20 0 26044K 6592K kqread 2 0:00 0.00% nginx
11470 root 6 20 0 141M 30024K usem 2 0:00 0.00% python2.
24139 root 4 52 0 160M 45848K select 3 0:00 0.00% python2.
8852 root 6 20 0 146M 30120K usem 1 0:00 0.00% python2.
6594 root 6 52 0 157M 30896K usem 3 0:00 0.00% python2.
7676 root 6 20 0 147M 29580K usem 1 0:00 0.00% python2.
13721 root 1 21 0 149M 45988K ttyin 2 0:00 0.00% python2.
26024 root 1 40 19 1170M 963M futex 0 0:00 0.00% java
Sadly I'm not very Unix-savvy and I therefore turn to you for guidance.
I'm running FreeNAS-9.2.1-RELEASE-x64 (bd35c86) and my hardware setup is this:
4 KINGSTON Valueram/ 8GB 1600MHz KVR16LE11/8EF
1 IBM Express ServeRAID M1015 90Y4556
1 Intel(R) Core(TM) i3-3240 CPU @ 3.40GHz
1 Supermicro motherboard X10SLL-F
6 Western Digital Red 3TB
subject: Cron <operator@freenas> /usr/libexec/save-entropy
message: /usr/libexec/save-entropy: Cannot fork: Resource temporarily unavailable
When I got home from work I rebooted the box and didn't think much of it. Today the e-mails where back and I figured I should look more into the issue.
I logged on to the web-console and saw something like this in the whatchamacallit at the bottom:
freenas kernel: maxproc limit exceeded by uid 0 (pid 23661); see tuning(7) and login.conf(5)
After a little while the web console stopped responding and I logged on to the IPMI-console and rebooted again.
When Freenas was booted again I tried looking into this PID-thing and from what I can reckon Java is hogging the cpu.
output of top-command:
PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMMAND
26409 root 1 121 19 1170M 963M CPU0 0 13:09 100.00% java
31284 root 2 21 0 102M 20944K select 3 0:01 1.46% python2.
26000 root 1 39 19 1170M 963M futex 0 0:13 0.78% java
30810 transmission 3 20 0 117M 45264K select 1 0:06 0.39% transmis
3771 root 6 20 0 311M 114M usem 2 0:06 0.00% python2.
5115 root 12 20 0 145M 13904K uwait 2 0:02 0.00% collectd
25999 root 1 52 19 1170M 963M futex 0 0:02 0.00% java
4919 nobody 1 20 0 9908K 2312K select 0 0:01 0.00% mdnsd
22324 www 1 20 0 26044K 6592K kqread 2 0:00 0.00% nginx
11470 root 6 20 0 141M 30024K usem 2 0:00 0.00% python2.
24139 root 4 52 0 160M 45848K select 3 0:00 0.00% python2.
8852 root 6 20 0 146M 30120K usem 1 0:00 0.00% python2.
6594 root 6 52 0 157M 30896K usem 3 0:00 0.00% python2.
7676 root 6 20 0 147M 29580K usem 1 0:00 0.00% python2.
13721 root 1 21 0 149M 45988K ttyin 2 0:00 0.00% python2.
26024 root 1 40 19 1170M 963M futex 0 0:00 0.00% java
Sadly I'm not very Unix-savvy and I therefore turn to you for guidance.
I'm running FreeNAS-9.2.1-RELEASE-x64 (bd35c86) and my hardware setup is this:
4 KINGSTON Valueram/ 8GB 1600MHz KVR16LE11/8EF
1 IBM Express ServeRAID M1015 90Y4556
1 Intel(R) Core(TM) i3-3240 CPU @ 3.40GHz
1 Supermicro motherboard X10SLL-F
6 Western Digital Red 3TB
Last edited: