LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 12-03-2009, 11:37 PM   #1
threezerous
Member
 
Registered: Jul 2009
Posts: 96

Rep: Reputation: 16
Question Tomcat dies with EFBIG (File too large) error


While running a tomcat application process, tomcat dies with no errors in catalina.out or localhost. So we enabled trace on the process
strace -f -p 23752 > cst.trace.txt 2>&1

and we found the following errors

pid 23857] gettimeofday({1259793502, 901659}, NULL) = 0
[pid 23857] rt_sigprocmask(SIG_BLOCK, NULL, [QUIT], 8) = 0
[pid 23857] gettimeofday({1259793502, 901737}, NULL) = 0
[pid 23857] write(4, "# [ 1800883104 ] Wed Dec 2 17:3"..., 101) = 76
[pid 23857] write(4, "PI> get,s0,q0,a_webc_url\n", 25) = -1 EFBIG (File too large)
...
...
[pid 23838] <... futex resumed> ) = -1 EINTR (Interrupted system call)
[pid 23839] <... futex resumed> ) = -1 EINTR (Interrupted system call)
[pid 23820] <... accept resumed> 0xffffa934, [760209211420]) = ? ERESTARTSYS (To be restarted)
[pid 23855] <... futex resumed> ) = -1 EINTR (Interrupted system call)
[pid 23837] <... accept resumed> 0x6c9b7fb0, [760209211420]) = ? ERESTARTSYS (To be restarted)
...
...
[pid 23824] +++ killed by SIGXFSZ +++
[pid 23843] +++ killed by SIGXFSZ +++
[pid 23845] +++ killed by SIGXFSZ +++
[pid 23825] +++ killed by SIGXFSZ +++
[pid 23840] +++ killed by SIGXFSZ +++

Looks like some file size exceeded limits. But how do we determine which file size is exceeding the limit.
Also what should be the limit threshold. This was a new server built recently

Any suggestions/help is greatly appreciated.
Thanks in advance

Last edited by threezerous; 12-04-2009 at 08:17 AM.
 
Old 12-04-2009, 11:06 AM   #2
threezerous
Member
 
Registered: Jul 2009
Posts: 96

Original Poster
Rep: Reputation: 16
Ok....I was able to locate the culprit file by using the command

ls -l /proc/<pid>/fd
The file was a trace enabled file through the application and was becoming huge in seconds. After disabling the trace, looks good. But I have a feeling there is a file size limit somewhere in linux. As I recall, we had enabled tracing on another server and we did not see any issues there, though the trace file had grown as big.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
NFS Large File Copies Fail - Error writing to file: Input/output error deck- Linux - Server 10 08-01-2022 02:30 AM
Gigabit dies on large file xfers rudedog830 Linux - Networking 0 02-15-2007 10:15 PM
Fatal error: File too large. can564 Linux - General 3 03-28-2006 06:25 AM
Suse 9.2 Pro - Network dies after a while (also while coping large files) Za_medic Linux - Networking 2 03-05-2005 11:57 PM
zip large file error simbolo Linux - Software 4 08-12-2003 03:56 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 01:09 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration