Failures to start g++ (due to lack of memory) are not reported to the workunit

Description

I'm running a batch of workunits and am getting some of them fail with this message. However when I re-run them they're fine. It's happened more this morning when I'm running quite a few in one go, could it be anything to do with having several compiling simultaneously?

There are also a lot of messages along the lines of:

conversion from string constant to ‘char*’ <WUID>.cpp:65: warning: deprecated

That's repeated a lot for a collection of different line numbers. I don't get any of those on the re-run workunits.

Conclusion

None

Activity

Show:

Gavin Halliday January 19, 2018 at 11:59 AM

This is also caused by low memory, but a slightly different situation (failed to start the c++ compiler) which could probably have been reported better:

 

00265043 2018-01-17 02:19:25.865 63746 73281 ""/usr/bin/g++" "W20180117-021613_6.cpp" -fvisibility=hidden -DUSE_VISIBILITY=1 -fPIC -O0 -m64 -c "-I/opt/HPCCSystems/componentfiles/cl/include" -o "W20180117-021613_6.cpp.o""
00265044 2018-01-17 02:19:25.879 63746 121184 "ERROR: fork of ""/usr/bin/g++" "W20180117-021613_5.cpp" -fvisibility=hidden -DUSE_VISIBILITY=1 -fPIC -O0 -m64 -c "-I/opt/HPCCSystems/componentfiles/cl/include" -o "W20180117-021613_5.cpp.o"" failed. fork() returned:ENOMEM"
00265045 2018-01-17 02:19:25.879 63746 121184 "ERROR: fork of ""/usr/bin/g++" "W20180117-021613_6.cpp" -fvisibility=hidden -DUSE_VISIBILITY=1 -fPIC -O0 -m64 -c "-I/opt/HPCCSystems/componentfiles/cl/include" -o "W20180117-021613_6.cpp.o"" failed. fork() returned:ENOMEM"
00265046 2018-01-17 02:19:25.879 63746 73281 ""/usr/bin/g++" "W20180117-021613.res.s" -fvisibility=hidden -DUSE_VISIBILITY=1 -fPIC -O0 -m64 -c "-I/opt/HPCCSystems/componentfiles/cl/include" -o "W20180117-021613.res.s.o""
00265047 2018-01-17 02:19:25.880 63746 121184 "ERROR: fork of ""/usr/bin/g++" "W20180117-021613.res.s" -fvisibility=hidden -DUSE_VISIBILITY=1 -fPIC -O0 -m64 -c "-I/opt/HPCCSystems/componentfiles/cl/include" -o "W20180117-021613.res.s.o"" failed. fork() returned:ENOMEM"
00265048 2018-01-17 02:19:33.681 63746 73148 "SYS: PU= 18% MU= 89% MAL=5839605760 MMP=1819951104 SBK=4019654656 TOT=16774644K RAM=29554972K SWP=3559716K"
00265049 2018-01-17 02:19:33.682 63746 73148 "DSK: [sda] r/s=2.4 kr/s=154.4 w/s=18.8 kw/s=4542.2 bsy=5 NIC: rxp/s=29550.2 rxk/s=0.0 txp/s=31994.6 txk/s=0.0 CPU: usr=17 sys=0 iow=0 idle=81"

 

James Wilson January 19, 2018 at 10:32 AM

Will be the same as , please close this.

Fixed
Pinned fields
Click on the next to a field label to start pinning.

Details

Components

Assignee

Reporter

Priority

Compatibility

Major

Fix versions

Affects versions

Created January 17, 2018 at 9:53 AM
Updated January 21, 2018 at 2:32 PM
Resolved January 21, 2018 at 2:32 PM