vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Our clients recently has migrated their system to AIX 5.3. Since the migration they are having problem with our application. It is a memory leak reported by Informix command 'onstst -g ses'. The memory allocated to our processes grows until it crashes the system. This is an example of onstat right after system startup: IBM Informix Dynamic Server Version 9.40.UC7 -- On-Line -- Up 00:14:25 -- 38 144 Kbytes session #RSAM total used dyna mic id user tty pid hostname threads memory memory expl ain 24 informix - 0 - 0 12288 7992 off 23 istadm 1 28638 H50 1 282624 267712 off 22 istadm 1 27608 H50 1 102400 96400 off 21 istadm 1 27866 H50 1 135168 125672 off 20 istadm 1 26838 H50 1 299008 283960 off 19 istadm 1 26322 H50 1 57344 50880 off 17 istadm 1 29670 H50 1 57344 53352 off 9 istadm 1 22962 H50 1 36864 32088 off 3 informix - 0 - 0 12288 9200 off 2 informix - 0 - 0 12288 7992 off Our main process' PID is 26838. This is the output from onstat just a few minutes leter: IBM Informix Dynamic Server Version 9.40.UC7 -- On-Line -- Up 00:32:42 -- 38 144 Kbytes session #RSAM total used dyna mic id user tty pid hostname threads memory memory expl ain 24 informix - 0 - 0 12288 7992 off 23 istadm 1 28638 H50 1 405504 389504 off 22 istadm 1 27608 H50 1 102400 96400 off 21 istadm 1 27866 H50 1 163840 150184 off 20 istadm 1 26838 H50 1 659456 641336 off 19 istadm 1 26322 H50 1 57344 50880 off 17 istadm 1 29670 H50 1 57344 53352 off 9 istadm 1 22962 H50 1 36864 32088 off 3 informix - 0 - 0 12288 9200 off 2 informix - 0 - 0 12288 7992 off We were able to recreate this on our dev box. We are running AIX 5.3 with latest Service Pack from IBM and Informix IDS 9.40.UC7. We can run identical application on AIX 5.2 with IDS 9.4 or IDS 9.2 without any problems. It is only on AIX 5.3. We re-compiled the system with IDS 10 on AIX 5.3 and we got the memory leak problem. Does anybody has any suggestions? Thank you. |
| ||||
| Debug malloc's report_allocations Read up on debug malloc from publib.boulder.. http://publib.boulder.ibm.com/infoce...v5r3/index.jsp feel free to ping me.. send me a mail, and i'll send you my google id... Thanks and regards, Rajbir Bhattacharjee mirekb wrote: > Our clients recently has migrated their system to AIX 5.3. Since the > migration they are having problem with our application. It is a > memory leak reported by Informix command 'onstst -g ses'. The memory > allocated to our processes grows until it crashes the system. This is > an example of onstat right after system startup: > > IBM Informix Dynamic Server Version 9.40.UC7 -- On-Line -- Up > 00:14:25 -- 38 > 144 Kbytes > > session #RSAM total > used dyna > mic > id user tty pid hostname threads memory > memory expl > ain > 24 informix - 0 - 0 12288 > 7992 off > 23 istadm 1 28638 H50 1 282624 > 267712 off > 22 istadm 1 27608 H50 1 102400 > 96400 off > 21 istadm 1 27866 H50 1 135168 > 125672 off > 20 istadm 1 26838 H50 1 299008 > 283960 off > 19 istadm 1 26322 H50 1 57344 > 50880 off > 17 istadm 1 29670 H50 1 57344 > 53352 off > 9 istadm 1 22962 H50 1 36864 > 32088 off > 3 informix - 0 - 0 12288 > 9200 off > 2 informix - 0 - 0 12288 > 7992 off > > Our main process' PID is 26838. This is the output from onstat just a > few minutes leter: > > IBM Informix Dynamic Server Version 9.40.UC7 -- On-Line -- Up > 00:32:42 -- 38 > 144 Kbytes > > session #RSAM total > used dyna > mic > id user tty pid hostname threads memory > memory expl > ain > 24 informix - 0 - 0 12288 > 7992 off > 23 istadm 1 28638 H50 1 405504 > 389504 off > 22 istadm 1 27608 H50 1 102400 > 96400 off > 21 istadm 1 27866 H50 1 163840 > 150184 off > 20 istadm 1 26838 H50 1 659456 > 641336 off > 19 istadm 1 26322 H50 1 57344 > 50880 off > 17 istadm 1 29670 H50 1 57344 > 53352 off > 9 istadm 1 22962 H50 1 36864 > 32088 off > 3 informix - 0 - 0 12288 > 9200 off > 2 informix - 0 - 0 12288 > 7992 off > > We were able to recreate this on our dev box. We are running AIX 5.3 > with latest Service Pack from IBM and Informix IDS 9.40.UC7. We can > run identical application on AIX 5.2 with IDS 9.4 or IDS 9.2 without > any problems. It is only on AIX 5.3. We re-compiled the system with > IDS 10 on AIX 5.3 and we got the memory leak problem. > Does anybody has any suggestions? > > Thank you. |