server memory leak for hooks

Description

[anamika@x40-64-centos64 hook_load]$ qstat --version
pbs_version = PBSPro_14.2.0.20161121011931
server
0h 334560
1h 599464
3h 823624
4h 1089268
and for RSS
server
19016
284084
508080
773716
So at the end it leaked ~0.75gb for 2500 jobs that were adding following record to the accounting logs
11/21/2016 15:25:19;E;2652.x40-64-centos64.pbspro.com;user=anamika group=altair account="altair" project=_pbs_project_default jobname=apple queue=workq2 ctime=1479770703 qtime=1479770704 etime=1479770704 start=1479770704 exec_host=x40-64-centos64/7+x40-64-centos64/8+x40-64-centos64/9+x40-64-centos64/10+x40-64-centos64/11+x40-64-centos64/12+x40-64-centos64/13 exec_vnode=(x40-64-centos64:ncpus=1)(x40-64-centos64:ncpus=1)(x40-64-centos64:mem=102400kb:ncpus=1)(x40-64-centos64:mem=102400kb:ncpus=1)(x40-64-centos64:mem=102400kb:ncpus=1)(x40-64-centos64:mem=102400kb:ncpus=1)(x40-64-centos64:mem=102400kb:ncpus=1) Resource_List.cput=00:05:30 Resource_List.mem=500mb Resource_List.mppt=00:00:31 Resource_List.ncpus=7 Resource_List.nodect=7 Resource_List.pcput=00:06:31 Resource_List.place=pack:shared:group=host Resource_List.select=2:ncpus=1+5:mem=100mb Resource_List.software=abaqus Resource_List.walltime=00:30:00 session=31870 end=1479770719 Exit_status=0 resources_used.cpupercent=0 resources_used.cput=00:00:00 resources_used.mem=2936kb resources_used.ncpus=7 resources_used.vmem=317296kb resources_used.walltime=00:00:15 run_count=1
I have started the same test on 14.101.0.20160901180801 and I am noticing the similar leak. The test is still running hence I will post the detail results later.
Also I will run the test on 13.1.1 to verify if it was there too.

Acceptance Criteria

None

Status

Assignee

Unassigned

Reporter

Scott Campbell

Severity

None

OS

None

Start Date

None

Pull Request URL

None

Story Points

1

Components

Priority

Low
Configure