Sat Jul 02, 2022 4:50 am
Login Register Lost Password? Contact Us

Please Note: The HPCC Systems forums are moving to Stack Overflow. We invite you to post your questions on Stack Overflow utilizing the tag hpcc-ecl (https://stackoverflow.com/search?tab=newest&q=hpcc-ecl). This legacy forum will be active and monitored during our transition to Stack Overflow but will become read only beginning September 1, 2022.



"Memory pool exhausted" error when running PIPE command

Comments and questions related to the Enterprise Control Language

Tue Feb 21, 2017 5:11 pm Change Time Zone

I'm experimenting with ways to identify whether a roxie service is really truly ready to run, with all files copied over to all roxie nodes.

I tried calling testsocket via a PIPE command with the intention of parsing the resulting xml, but get the following error:

Error: System error: 1301: Memory pool exhausted: pool id 4194304 (1216 pages) exhausted, requested 7068 active(1) heap(1/1216) (0, 0), 1301,

The xml coming back from the testsocket command is quite short, just a couple of dozen lines. Here's the ecl:

EXPORT RoxieFileCopyStatus(STRING roxienode) := PIPE('testsocket ' + roxienode + ' -lock \'<control:numfilestoprocess/>\'',{STRING hack});

OUTPUT(RoxieFileCopyStatus('10.173.22.201'));


And here's what's returned when I run the same command ssh'd to that cluster:

[[email protected] ~]$ testsocket 10.173.22.201 -lock '<control:numfilestoprocess/>'
<Control>
<Lock>5</Lock><NumServers>5</NumServers></Control>
<Control>
<Endpoint ep="10.173.22.201:9876">
<FilesToProcess value="0"/>
<Status>ok</Status>
</Endpoint>
<Endpoint ep="10.173.22.203:9876">
<FilesToProcess value="0"/>
<Status>ok</Status>
</Endpoint>
<Endpoint ep="10.173.22.202:9876">
<FilesToProcess value="0"/>
<Status>ok</Status>
</Endpoint>
<Endpoint ep="10.173.22.204:9876">
<FilesToProcess value="0"/>
<Status>ok</Status>
</Endpoint>
<Endpoint ep="10.173.22.205:9876">
<FilesToProcess value="0"/>
<Status>ok</Status>
</Endpoint>
</Control>

Any ideas what's causing that error?
drealeed
 
Posts: 34
Joined: Tue Nov 19, 2013 6:42 pm

Thu Sep 28, 2017 8:24 pm Change Time Zone

Drea,

Did you ever found out what was causing the "memory pool exhausted" error. I'm having the same problem.

Tim
tlhumphrey2
 
Posts: 260
Joined: Mon May 07, 2012 6:23 pm


Return to ECL

Who is online

Users browsing this forum: No registered users and 1 guest

cron