# .xsession-errors file size exploding

**URL:** <https://forums.suse.com/t/xsession-errors-file-size-exploding/32453>\
**Category:** SLES Configure-Administer\
**Created:** [May 22, 2018, 7:09pm UTC](https://forums.suse.com/t/xsession-errors-file-size-exploding/32453 "2018-05-22T19:09:54Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![nbayuni](https://avatars.discourse-cdn.com/v4/letter/n/ac91a4/32.png) [@nbayuni](https://forums.suse.com/u/nbayuni)\
**Post date:** [May 22, 2018, 7:09pm UTC](https://forums.suse.com/t/xsession-errors-file-size-exploding/32453/1 "2018-05-22T19:09:54Z")

</div>

Hello Hi, I just joined this forum. am not an expert in SUSE/Linux. Hopefully by joining this community I could learn and share stuff with all members.

Here is my problem:  
For unknown reason the file named ‘.xsession-errors’ grows very fast in the last 2-3 days, from a couple of hundreds MB to 1.4 TB which in turn occupied the full size of the mail server’s disk, leaving no space anymore.

To overcome the problem I deleted that file, but it doesn’t decrease the file size usage. The directory entry was removed, but the file is kept as long as the process uses, that’s what I was told. I can’t find the file in Trash folder neither in TMP folder.

As the disk is 100% occupied, I can’t practically do anything now, including the screen becomes blank/black, just the cursor can be seen moving around the screen.

So I really need to remove the .xsession-errors file and prevent it to grow uncontrolable. Maybe there is a way to delete it remotely…

Any Help would be highly appreciated.

Regards.  
Nas

---

<div class="post-metadata">

**Author:** ![malcolmlewis](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/malcolmlewis/32/11375_2.png) [@malcolmlewis](https://forums.suse.com/u/malcolmlewis)\
**Post date:** [May 23, 2018, 7:08am UTC](https://forums.suse.com/t/xsession-errors-file-size-exploding/32453/2 "2018-05-23T07:08:34Z")

</div>

[QUOTE=nbayuni;52642]Hello Hi, I just joined this forum. am not an expert in SUSE/Linux. Hopefully by joining this community I could learn and share stuff with all members.

Here is my problem:  
For unknown reason the file named ‘.xsession-errors’ grows very fast in the last 2-3 days, from a couple of hundreds MB to 1.4 TB which in turn occupied the full size of the mail server’s disk, leaving no space anymore.

To overcome the problem I deleted that file, but it doesn’t decrease the file size usage. The directory entry was removed, but the file is kept as long as the process uses, that’s what I was told. I can’t find the file in Trash folder neither in TMP folder.

As the disk is 100% occupied, I can’t practically do anything now, including the screen becomes blank/black, just the cursor can be seen moving around the screen.

So I really need to remove the .xsession-errors file and prevent it to grow uncontrolable. Maybe there is a way to delete it remotely…

Any Help would be highly appreciated.

Regards.  
Nas[/QUOTE]  
Hi and welcome to the Forum 🙂  
So what are the errors, can you post a short output from the file?

If you boot from the install media in ‘rescue’ mode and mount the partition that has /home in it to obtain a snippet from the user xsession-errors file.

Also perhaps look down in /var/logs to clean out old files?

---

<div class="post-metadata">

**Author:** ![nbayuni](https://avatars.discourse-cdn.com/v4/letter/n/ac91a4/32.png) [@nbayuni](https://forums.suse.com/u/nbayuni)\
**Post date:** [May 23, 2018, 8:26am UTC](https://forums.suse.com/t/xsession-errors-file-size-exploding/32453/3 "2018-05-23T08:26:27Z")

</div>

Hi malcolm, thanks for replying. I did manage soling the problem. Using PuTTY I accessed the server, then identified where the file was hiding, then knowing the PID I killed the process. That’s it!  
Thanks for replying.
