Cannot write more than 2GB to file in non-global zone - in global zone I can
Hi,
I look after an exim installation on a Solaris 10 zone. A short time ago the exim mainlog size on the Solaris 10 zone reached 2GB before log rotation due to more activity. It turns out 2GB is the maximum size at the moment and exim stops. The workaround has been to increase the log rotation frequency so the logs are smaller. But the goal is to have daily log files again. I just cannot figure out where the file size limit comes from. Tests done: in the (non-global) zone I cannot append to a file that is already 2GB. E.g. cat anotherfile >> my2GBfile as root returns immediately (no error) and my2GBfile is unchanged. This operation is done as root in the root fs, which is UFS, in /var/log/exim in this case. When doing the same test in the global zone, the cat command will append and create e.g. a 3GB file without problem in the exact same directory. Some more info: uname -a SunOS machine1 5.10 Generic_127128-11 i86pc i386 i86pc I did not see any file size limit attributes anywhere I looked so far. E.g. the zone config xml files don't seem to have it. I also ran "prctl -i zone myzonename" but none of the values relate to file size. |
Your kernel patch level looks to be 6 years old.
What says Code:
df -k . |
Hi jlliagre,
Here is the output. Code:
[12:09 AM] server123:/var/log/exim$ df -k . and Code:
[12:09 AM] server123:/var/log/exim$ truss -f cat anotherfile >> my2GBfile |
All times are GMT -5. The time now is 01:58 PM. |