I got an apache coolstack process that is using up 150mb of anonymous memory. The file system is on ZFS. The same software on another server is using about 30. There is no traffic to the apache server. I am wondering what on this specific system is causing it to use 150mb? How can I use dtrace to help find the root cause (and tune it so it doesn''t use so much...) pmap shows this: 0803D000 44K rwx-- [ stack ] 08050000 408K r-x-- /opt/coolstack/apache2/bin/httpd 080C5000 20K rwx-- /opt/coolstack/apache2/bin/httpd 080CA000 2164K rwx-- [ heap ] F4400000 131072K rw-s- [ anon ] FC600000 6696K r-x-- /opt/coolstack/apache2/modules/libphp5.so FCC99000 560K rwx-- /opt/coolstack/apache2/modules/libphp5.so FCD25000 16K rwx-- /opt/coolstack/apache2/modules/libphp5.so FCD35000 484K rw-s- [ anon ] FD4B0000 216K r-x-- /opt/coolstack/lib/libcurl.so.3.0.0 FD4F5000 12K rwx-- /opt/coolstack/lib/libcurl.so.3.0.0 ... Thanks -- This message posted from opensolaris.org
I see a ~130MB shared segment that is contributing significantly to the anon usage? This just can''t be because of having ZFS as the underlying FS. You may want to ask for help on apache forums as to when it ends up creating this kind of segment? -surya Anil Jangity wrote:> I got an apache coolstack process that is using up 150mb of anonymous memory. The file system is on ZFS. The same software on another server is using about 30. There is no traffic to the apache server. > > I am wondering what on this specific system is causing it to use 150mb? How can I use dtrace to help find the root cause (and tune it so it doesn''t use so much...) > > pmap shows this: > > 0803D000 44K rwx-- [ stack ] > 08050000 408K r-x-- /opt/coolstack/apache2/bin/httpd > 080C5000 20K rwx-- /opt/coolstack/apache2/bin/httpd > 080CA000 2164K rwx-- [ heap ] > F4400000 131072K rw-s- [ anon ] > FC600000 6696K r-x-- /opt/coolstack/apache2/modules/libphp5.so > FCC99000 560K rwx-- /opt/coolstack/apache2/modules/libphp5.so > FCD25000 16K rwx-- /opt/coolstack/apache2/modules/libphp5.so > FCD35000 484K rw-s- [ anon ] > FD4B0000 216K r-x-- /opt/coolstack/lib/libcurl.so.3.0.0 > FD4F5000 12K rwx-- /opt/coolstack/lib/libcurl.so.3.0.0 > ... > > Thanks > > > -- > This message posted from opensolaris.org > _______________________________________________ > dtrace-discuss mailing list > dtrace-discuss at opensolaris.org >