LinHES Forums http://forums.linhes.org/ |
|
Full Swap Space - Choppy Playback http://forums.linhes.org/viewtopic.php?f=5&t=19105 |
Page 1 of 1 |
Author: | spideyk21 [ Tue Oct 14, 2008 7:05 am ] |
Post subject: | Full Swap Space - Choppy Playback |
Just recently I have noticed that my swap partition is filling up to ~100% usage. Not sure the reason why but when it is full video playback is quite choppy. Looking at my RRDTool Graphs from the last day, month, and year you can see the usage. ![]() ![]() ![]() As you can see the swap was next to nonexistent prior to July. The only that has changed on my system is the addition of a 1TB hard drive a few months ago. I have just purchased some additional ram to add to the existing 512mb. Any thoughts on the cause of the full swap and why it is not being purged regularly? Thanks in advance |
Author: | tjc [ Tue Oct 14, 2008 10:02 pm ] |
Post subject: | |
Most likely the known Nvidia driver leaks covered in the hints. Check top and see how much memory your X server is using. BTW - I have the same issue. Killing the X server once a week or rebooting will reset it. |
Author: | tophee [ Wed Oct 15, 2008 3:51 am ] |
Post subject: | |
Get Mythwelcome up and running - it will solve this forever! LOL! (and save you electricity bill a bit) |
Author: | spideyk21 [ Wed Oct 15, 2008 7:37 am ] |
Post subject: | |
Thanks, I know how to restart x with the Keyboard (CTRL-ALT-BACKSPACE), but since I don't have a keyboard hooked up it is a better option to automate the process. Was doing a little searching and was unable to find out how to restart x via the terminal. Was going to add the command to cron (with the idle script) and set it to run weekly in the early morning. Thanks again |
Author: | jzigmyth [ Wed Oct 15, 2008 8:11 am ] |
Post subject: | |
pkill xinit will restart the xserver via a terminal. |
Author: | chunter2 [ Thu Nov 13, 2008 9:26 am ] |
Post subject: | |
After thinking I didn't have enough ram in my myth box, then adding a bad stick of ram by accident which caused all kinds of weird issues I'm now seeing the swap file filling up issue. I've noticed it on two machines, neither running nvidia cards. Has anyone found the root cause of this issue? I know I can restart X but I was looking for a more user friendly fix. I've done the update cecil talked about in the following thread to fix the multiple key presses issue. http://knoppmyth.net/phpBB2/viewtopic.php?p=113750 One box is using the ati driver and the other is using the sis driver. |
Author: | chunter2 [ Thu Feb 19, 2009 3:44 pm ] |
Post subject: | |
I added pkill X to crontab to happen in the middle of the night and that seems to have fixed my issues with swap filling up. Although now I have another issue. On my combined fronend/backend everything is fine. On my frontend only machines I've added mythjobqueue to the .fluxbox/apps file to help with commercial flagging and transcoding. Now every time pkill X happens it starts another mythjobqueue. How do I get it to skip mythjobqueue in the apps file when doing the pkill but not on a system bootup? |
Author: | tjc [ Thu Feb 19, 2009 8:44 pm ] |
Post subject: | |
Wrap mythjobqueue with a script that checks to see if it's already running and only starts it up if it's not. Code: #!/bin/bash
if ! pgrep mythjobqueue >/dev/null ; then # command to start it up here... fi |
Page 1 of 1 | All times are UTC - 6 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |