Author |
Message |
mjl
|
Posted: Sat Apr 08, 2006 1:33 pm |
|
Joined: Sun Jun 12, 2005 10:55 pm
Posts: 3161
Location:
Warwick, RI
|
Hi,
If you are running an alpha version of KnoppMyth, be sure to check in mythtv-setup (alt s) that the cache setting is at least 1 gig less than what df -h shows for the /cache size. Other wise if cache tries to overfill, things go stupid and it writes a lot of error messages until / is filled and you are now needing to delete those logs.
Just ssh into the box and remove the large logs.
http://mysettopbox.tv/phpBB2/viewtopic. ... 1027#30520
This it is not a new thing, I set up my cache buffer to minimum and then use the /myth/tv as the buffer instead of /cache/cache.
Mike
|
|
Top |
|
 |
Ep Woody
|
Posted: Wed Apr 12, 2006 5:17 am |
|
Joined: Mon Jan 23, 2006 7:02 am
Posts: 24
Location:
The Netherlands
|
Quote: -r-------- 1 root root 268423168 Apr 12 13:15 kcore
Hi,
I'm having a problem with low diskspace on /dev/hda1 too... I ran into the following "file" in /proc
Why is this one this big??
Kindly regards,
Eppie
_________________ KnoppMyth R5A30.1 upgraded to MythTV 0.19
P3-900 MHz
Asus CUV board (VIA Apollo 133A)
40 Gig HD
PVR-350
Optrex Display 160*128 T6963c
VMWare 4.5.1
KnoppMyth R5A30.2 upgraded to MythTV 0.19
IDE "virtual drive"
|
|
Top |
|
 |
mjl
|
Posted: Wed Apr 12, 2006 4:25 pm |
|
Joined: Sun Jun 12, 2005 10:55 pm
Posts: 3161
Location:
Warwick, RI
|
Hi Ep Woody,
I am not familiar using a virtual machine, however assuming it is an imaginary sandbox for the real KnoppMyth to play in, then I would also assume that the file is a core dump.
Here is where the guru's need to jump in and help to keep me honest but normally those are caused by a system crash and are generated for forensics. You should be able to safely rm it. I don't think I have seen one of those in KnoppMyth in the two + years that I have been working with the software. (I think I have a R4V2 cd somewhere) Actually, I don't recall seeing a core dump since I was last playing with Slackware a few years ago.
KnoppMyth is not a system, it is a suite of apps, the Debian / Knoppix it rides on is the system and it may not be totally happy in a virtual world.
Hope this is of some value.
Mike
|
|
Top |
|
 |
mac
|
Posted: Wed Apr 12, 2006 8:33 pm |
|
Joined: Tue Feb 21, 2006 7:24 am
Posts: 396
Location:
Dushanbe, Tajikistan
|
mjl, I think you might be confusing it with a core file.
/proc/kcore is physical memory. It is virtual file.. and contains the
contents of RAM.
|
|
Top |
|
 |
mjl
|
Posted: Wed Apr 12, 2006 10:27 pm |
|
Joined: Sun Jun 12, 2005 10:55 pm
Posts: 3161
Location:
Warwick, RI
|
Hi mac,
Thanks for the enlightenment! I know the virtual stuff is a bit different and yes, I was thinking of it being a core dump but usually they are not quite that large. Now it makes sense that what the kcore Ep Woody mentioned is the sand box his system plays in?
Thanks again
Mike
|
|
Top |
|
 |
mac
|
Posted: Wed Apr 12, 2006 11:58 pm |
|
Joined: Tue Feb 21, 2006 7:24 am
Posts: 396
Location:
Dushanbe, Tajikistan
|
I don't how Ep is setup but it looks like the VM is a remote frontend and
Knoppmyth is running native on the backend. You are right that running mythtv in a VM
would be problematic, but I think it would be doable on a remote frontend if it has a good
graphics subsystem and a fast CPU.
/proc/kcore has nothing to do with the VM -- its just a kernel interface for accessing physical
memory. The size of kcore will be the same as the amount of RAM he has allocated for the
VM or the same size as physical RAM if he is running native.
I should mention also that /proc is special filesystem and does not exist on physical media
and it goes away when the system is switched off. It is where the dynamic system and
process states are stored. All kinds cool stuff can be found found by poking around in it.
cat /proc/pci
cat /proc/cpuinfo
cat /proc/interupts
etc.. When I was doing security work, I would spy on black hats by going into proc
and then going into the directory that was the same as the PID of their shell to see
where they were and what they were doing.. lots and lots of fun stuff :)
|
|
Top |
|
 |
ryanpatterson
|
Posted: Thu Apr 13, 2006 5:53 am |
|
Joined: Fri Aug 26, 2005 9:54 pm
Posts: 617
|
Somewhat off toppic but, I have used VMware workstation under windows XP x64 to run a knoppmyth frontend on a virtual machine. Playback was almost watchable with deinterlacing disabled. But it was dropping frames here and there. And it was maxing out both cores of my pentium D. The problem is the virtual machine emulates a pretty crappy videocard.
|
|
Top |
|
 |
cesman
|
Posted: Thu Apr 13, 2006 4:04 pm |
|
Joined: Fri Sep 19, 2003 7:05 pm
Posts: 5088
Location:
Fontana, Ca
|
Where is thread going? It started of w/ / being full now it is about VMs. Please stick with the topic at hand. If the issue has been solved, move on...
_________________ cesman
When the source is open, the possibilities are endless!
|
|
Top |
|
 |
mjl
|
Posted: Thu Apr 13, 2006 10:04 pm |
|
Joined: Sun Jun 12, 2005 10:55 pm
Posts: 3161
Location:
Warwick, RI
|
Hi,
Good point cesman, the vm was a red herring I think....
In order to help with the full drive issues, need some better infomation. Again, what version of KnoppMyth are you running?
What does a df -h and a df -i return? You say it is full but what is full? the root partition, the myth partition?
Most of the time if something goes wrong in /myth then a bunch of errors are created and a log or two slowly fills up your drive. Read the tail of the logs if you can, then empty the logs and fix the cause. In the earlier versions it was a cache sizing, trying to put 5#'s into a 3# bag..
Mike
|
|
Top |
|
 |
zverg
|
Posted: Tue Apr 18, 2006 8:12 pm |
|
Joined: Mon Mar 06, 2006 2:55 pm
Posts: 8
|
where in mythtv-setup do you change this cache size? I change the mysql config so that it doesn't log every single database action, but this time it was the mythbackend.log file that went astronomical on me. I do remember seeing a cache setting somewhere in the past but I'm not seeing it now.
I'm running A30 by the way, downloading the iso for B7 currently.
|
|
Top |
|
 |
mjl
|
Posted: Tue Apr 18, 2006 9:54 pm |
|
Joined: Sun Jun 12, 2005 10:55 pm
Posts: 3161
Location:
Warwick, RI
|
Hi,
Alpha series, mythtv-setup (alt s) and make /cache/cache min (1) and then also change it to be /myth/tv however this setting doesn't apply in the B7 as it uses /myth/tv
Besure to do a backup before upgrading to R5B7 so your settings are stored.
I think you will like the B7 although all of the Alpha versions have been good for me, some were better than others but all good.
Mike
|
|
Top |
|
 |