Not Enough space

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
srekant
Premium Member
Premium Member
Posts: 85
Joined: Wed Jan 19, 2005 6:52 am
Location: Detroit

Not Enough space

Post by srekant »

Hi,

I am facing a unique problem when i am using a 4 node configuration problem for Datastage 7.5.2 on HP-UX Itanium 64 bit box. We are running our jobs in production successfully till yesterday and all of a sudden we are facing below error:

Could not map table file "/scratch/proj/DataSets/lookuptable.20090714.mf0ymnc": Not enough space

It looks simple and though of space problem on the partition but i was wrong as i ran the job and started monitoring the server. 250GB of free space is available for this partition.

When i use single node the job is running fine but is very slower than a 4 node configuration file.

Any suggestion on where the problem could be?
jcthornton
Premium Member
Premium Member
Posts: 79
Joined: Thu Mar 22, 2007 4:58 pm
Location: USA

Post by jcthornton »

While it could be a disk space issue, it is more likely to be running out of memory.

A recommendation to try would be to monitor the swap memory space while the process is running using both the single node and the 4-node configurations.
Jack Thornton
----------------
Spectacular achievement is always preceded by spectacular preparation - Robert H. Schuller
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

Do you have a lookup stage and if so, how big is your lookup data (approximately)?
srekant
Premium Member
Premium Member
Posts: 85
Joined: Wed Jan 19, 2005 6:52 am
Location: Detroit

Post by srekant »

I have a look up and it is approximately 500 MB
Sree
srekant
Premium Member
Premium Member
Posts: 85
Joined: Wed Jan 19, 2005 6:52 am
Location: Detroit

Post by srekant »

I was using glance to monitor SWAP and DISK utilisations and i noticed that after few minutes of starting this job it is spiking to 100 % utilisation and then after few minutes the job abends. But not able to interpret what 100% means since the disk partiitons have enough space.
Sree
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

If you are on AIX then this thread will help solve the problem. I thought that the solution was in another thread, with some more details, but couldn't find it.

I think that if the lookup exceeds 512Mb you get this error unless extended the space. Note that if you have large VarChar columns in the lookup you might save memory space by removing the explicit length declarations.
srekant
Premium Member
Premium Member
Posts: 85
Joined: Wed Jan 19, 2005 6:52 am
Location: Detroit

Post by srekant »

I ran my process and below is the glance report

GlancePlus C.04.50.00 07:38:27 usplcpd1 ia64 Current Avg High
------------------------------------------------------------------------------------------------------------------------------------------------------
CPU Util S SU | 7% 7% 19%
Disk Util F F |100% 50% 100%
Mem Util S SU UB B | 31% 31% 31%
Swap Util U UR R | 10% 10% 10%
------------------------------------------------------------------------------------------------------------------------------------------------------
IO BY DISK Users= 4
Sree
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

So, H-PUX. And that's disk I/O not anything related to disk space.
-craig

"You can never have too many knives" -- Logan Nine Fingers
sanjay
Premium Member
Premium Member
Posts: 203
Joined: Fri Apr 23, 2004 2:22 am

Post by sanjay »

Sreekant

you have implement memory window option in HP unix to resolve above issue below issue or join stage .

Thanks
Sanjay

chulett wrote:So, H-PUX. And that's disk I/O not anything related to disk space.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

sanjay wrote:you have implement memory window option in HP unix to resolve above issue below issue .
:?:
Please explain how you believe the memory window option solves lack of physical disk space.

I'm not really certain what you mean by "above issue below issue" either.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

The "Not enough space" message almost always refers to disk space. I have fought with this issue before. After intensive checking during runtime it became clear that we had no disk issues, but that the lookup stage we were using tried to allocate more than 512 Mb. The solution is to use "ldedit" to change the osh executable so that it can allocate more virtual memory using the MAXDATA subcommand.
sanjay
Premium Member
Premium Member
Posts: 203
Joined: Fri Apr 23, 2004 2:22 am

Post by sanjay »

Ray , Arndw

Ray its not lack of physical disk space 250GB of free space is available

above issue means
Could not map table file "/scratch/proj/DataSets/lookuptable.20090714.mf0ymnc": Not enough space

In HP unix it can allocate only 1 GB of shared memory for 32 bit application . so if it goes above 1 GB job aborts . so there is feature available in HP unix i.e memory window which will allocate 1 GB for each node suppose u have 4 nodes

in datastage 7.5.2 osh is a 32 bit application file . not sure about datastage 8 ldedit is available only in AIX . equivalent change in HP unix in maxdsize but changing maxdsize doesn't reslove issue


Thanks
Sanjay
ArndW wrote:The "Not enough space" message almost always refers to disk space. I have fought with this issue before. After intensive checking during runtime it became clear that we had no disk issues, but that the lookup stage we were using tried to allocate more than 512 Mb. The solution is to use "ldedit" to change the osh executable so that it can allocate more virtual memory using the MAXDATA subcommand.
Post Reply