Performance problems beacause of python?

Status
Not open for further replies.

sputnik

Cadet
Joined
Aug 24, 2013
Messages
2
Hello together,

I am currently running FreeNAS 9.1.0 with 8 GB RAM.
My Server Filesystem is ZFS and i have 8TB of Harddrive Space.

I never had performance problems with my NAS but now it seems that i have not enough RAM.
This is the Output when i use "top".

Code:
last pid: 34088;  load averages:  0.08,  0.59,  0.82                up 0+11:05:42  22:33:05
66 processes:  1 running, 64 sleeping, 1 zombie
CPU:  0.4% user,  0.0% nice,  1.4% system,  1.0% interrupt, 97.3% idle
Mem: 268M Active, 395M Inact, 5357M Wired, 108K Cache, 161M Buf, 1766M Free
ARC: 4895M Total, 278M MFU, 4570M MRU, 16K Anon, 24M Header, 23M Other
Swap: 8192M Total, 8192M Free
 
  PID USERNAME    THR PRI NICE  SIZE    RES STATE  C  TIME  WCPU COMMAND
2161 root          7  26    0  378M  194M usem    1  1:09  0.00% python2.7
5180    972      13  35  15  247M 82844K select  0  1:32  0.00% python
4720    972      14  35    0  188M 81012K uwait  1  0:28  0.00% Plex Media Server
11825 root          8  21    0  179M 52200K accept  0  25:53  0.00% python2.7
6790 root          1  52    0  143M 44244K ttyin  1  0:01  0.00% python2.7
5516 root          6  20    0  141M 28200K usem    0  0:04  0.00% python2.7
6483    972      11  20    0  129M 20700K uwait  1  0:03  0.00% Plex DLNA Server
2520 root          7  20    0  126M 17904K uwait  0  1:39  0.20% collectd
2152 root          1  20    0 80432K 11236K select  1  0:00  0.00% smbd
2118 root          1  20    0 80432K 11228K select  1  0:00  0.00% smbd
13311 root          1  20    0 71756K  6056K select  1  0:02  0.00% afpd
2115 root          1  20    0 71620K  7616K select  1  0:00  0.00% nmbd
33166 root          1  20    0 67356K  5724K select  1  0:00  0.00% sshd
7470 bind          5  20    0 59416K 26792K kqread  0  0:14  0.00% named
5264    921        3  20    0 56308K 13192K select  1  0:10  0.00% transmission-daemon
11852 root          1  52    0 46744K  5172K select  0  0:00  0.00% sshd
4140 root          1  52    0 46744K  4864K select  0  0:00  0.00% sshd
5336 root          1  52    0 46744K  4864K select  1  0:00  0.00% sshd
3522 root          1  52    0 46744K  4560K select  0  0:00  0.00% sshd
4679 root          1  52    0 46744K  4552K select  0  0:00  0.00% sshd
2492 root          2  20    0 44884K  5248K select  1  0:01  0.00% afpd
2621 root          1  20    0 44660K  5268K select  1  0:00  0.00% sshd
14037 root          1  20    0 39800K  5400K select  1  0:00  0.00% cnid_dbd
13314 root          1  20    0 39800K  5120K select  0  0:00  0.00% cnid_dbd
2481 avahi        1  20    0 30316K  3096K select  0  0:05  0.00% avahi-daemon
17419 www          1  20    0 26024K  6128K kqread  0  0:00  0.00% nginx
2402 root          1  20    0 26024K  5264K pause  1  0:00  0.00% nginx
3498    136        1  20    0 24320K 12724K select  1  0:00  0.00% dhcpd
1695 root          1  20    0 22212K  3924K select  1  0:02  0.00% ntpd
11829 root          1  31  10 18600K  3212K wait    1  0:00  0.00% sh
4662 root          1  32  10 18600K  3184K wait    0  0:00  0.00% sh
5269 root          1  32  10 18600K  3176K wait    0  0:00  0.00% sh
3441 root          1  31  10 18600K  3176K wait    1  0:00  0.00% sh
4077 root          1  32  10 18600K  3176K wait    0  0:00  0.00% sh
33168 root          1  20    0 17516K  3416K pause  0  0:00  0.00% csh
34013 root          1  21    0 16552K  2528K CPU0    0  0:00  1.86% top
2477 messagebus    1  31    0 14292K  2264K select  1  0:00  0.00% dbus-daemon


I am running 5 Jails. But it seems that Python uses a lot of RAM. I don't know if this is normal. So I am asking if this is normal or a sort of memory leak.
 

phoenix

Explorer
Joined
Dec 16, 2011
Messages
52
I should say it's perfectly normal and it shows the same memory usage on my FreeNAS server (with 10GB), in any case you don't appear to be using any swap - why do you think you don't have enough RAM?
 

sputnik

Cadet
Joined
Aug 24, 2013
Messages
2
I thought it was not normal because when i reboot the NAS it shows 500M Wired RAM. Because of that i thought it is a memory leak.
 
Status
Not open for further replies.
Top