LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices

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

Rep: Reputation: 0
Unhappy "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-29-2003, 01:01 AM   #2
hypexr
Member
 
Registered: Oct 2003
Location: USA Fresno Callifornia
Distribution: Gentoo (workstation), ArchLinux (file/mail server), Freebsd (web server), Ubuntu (laptop)
Posts: 115

Rep: Reputation: 16
To see the space on and availabe on partitions:
Code:
df -h
To see the amount of space a directory or is taking up use the "du" command.
Is your swap partition filling up or your hard drive space? You can use the "top" command to see your memory stats.
 
Old 12-29-2003, 01:41 AM   #3
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,133

Rep: Reputation: 199Reputation: 199
First of all, wrong forum.

Secondly, please do not post the same thread in more than one forum. Picking the most relevant forum and posting it once there makes it easier for other members to help you and keeps the discussion all in one place.

http://www.linuxquestions.org/rules.php
 
  


Closed Thread


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 Off
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
Swap file "drive" or partition for new PC/speed questions? robbow52 Linux - Hardware 4 01-08-2004 04:59 PM
Grip- "no write access to write encoded file" Alvis Linux - Software 4 01-06-2004 04:18 PM
Getting the error "E297 : Write error in swap file " sudhir_gunda Linux - General 3 12-29-2003 08:07 AM


All times are GMT -5. The time now is 01:34 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