01-17-2009
91,
1
Join Date: Jan 2008
Last Activity: 3 April 2019, 8:39 PM EDT
Location: Chicago
Posts: 91
Thanks Given: 0
Thanked 1 Time in 1 Post
Sorting in ramdisk
Hi,
I have sort command that sorts in ramdisk created by a script 'mktd' and later unmounted by script 'rmtd'. The platform is AIX.
# code
sudo -E mktd 44 # create ramdisk of size 44GB
sort ... -k1,1 -2,2 ... # sort a file using the ramdisk on keys 1 and 2
sudo -E rmtd # unmount ramdisk
The keys I am sorting are on the first and second column on a ~810 million record dataset.
The error I am getting is below. Is this a memory issue?
sort: 0653-655 Cannot open /apps/tmp/stm242374aaqxg
2009-01-17 09:17:29 EST: ERROR: Error in step sortfile at line 18: Command return code: 2
Thanks,
- CB