LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 12-28-2003, 10:10 PM   #1
sudhir_gunda
LQ Newbie
 
Registered: Nov 2003
Posts: 3

Rep: Reputation: 0
Unhappy Getting the error "E297 : Write error in swap file "


Hi All,

I am a running a java application on a linux machine where in i am redirecting its output to a file. I am running the application from /home. In the middle of the execution i am able to see the message "E297 : Write error in swap file" appearing at the bottom of the editor in which i opened my output. There is also also a java.io.IOException occuring which says " No space left on device". Then i deleted some of the unnecessary files in the /home directory. Even then the same problem reappears. Can somebody please help me :-(

Sudhir

P.S : What is the command in Linux to find the total space allocated to a directory/device (for eg /home)
 
Old 12-28-2003, 10:47 PM   #2
jayakrishnan
Member
 
Registered: Feb 2002
Location: India
Distribution: Slacky 12.1, XP
Posts: 991

Rep: Reputation: 30
This mostly happens when the disk is full
Vim could not write text into the swap-file
 
Old 12-29-2003, 06:42 AM   #3
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,378

Rep: Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963
what does "free" tell you about the size of the swap partition?
 
Old 12-29-2003, 08:07 AM   #4
sudhir_gunda
LQ Newbie
 
Registered: Nov 2003
Posts: 3

Original Poster
Rep: Reputation: 0
got it

Hi,

I actually deleted a lot of matter form the /home dir...even then the when i try df....it shows that the availabilty % as 0. Then i restared the system..then the availability % became 35.......huh.......donno why...now my appl is working and thanks for the responses......

Sudhir
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to write a bash script to replace all "KH" to "K" in file ABC??? cqmyg5 Slackware 4 07-24-2007 09:00 AM
"Failed to set up write combining range" error when running startx jbryanj Linux - Software 1 10-24-2005 05:23 PM
"cannot change file permissions" error when moving data to and from pendrive Whiskers Mandriva 4 01-02-2005 02:49 AM
Oracle 10g says "end of file" cyclic redundancy error mmjulian Linux - Software 2 05-22-2004 02:57 AM
"E297: Write error in swap file" :-( sudhir_gunda Linux From Scratch 2 12-29-2003 01:41 AM


All times are GMT -5. The time now is 07:26 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration