Native Linux questions

Page: < 1234 > Showing page 3 of 4
Author
daemauk
New Member
  • Total Posts : 38
  • Reward points : 0
  • Joined: 2010/11/19 17:00:35
  • Status: offline
  • Ribbons : 0
Re:Native Linux SMP questions 2013/02/06 15:31:01 (permalink)
Sorry, I've been so busy to find, read and reply to this thread:
 
TheWolf, please try opening the Disk Usage Analyzer after some BA running to find where the disk space is getting consumed.  It could be an errant log(s), though probably not folding@home as I can see it was behaving.  I highly doubt it would be a swap file dynamically growing ala windows-style since it will stay contained within your swap partition.  You would have to intentionally create a swap file (non-default configuration) and even at that, it remains a fixed size.  (avoids fragmentation, if you try that in windows)
 
Xavier Zepheriousthe problem of most install is that most don't incorporate Swap partitions like the old days where we made separate partitions for swap space
:
:
the new installer defaults to all in one - so if you didn't put up enough disk space you could be in an issue (since they share the same space now like M$)

I however did a custom install and made swap partition in linux mint and made a significant drive space for the OS
general rule should be if your using all in one - 2x DDR memory
so for 16gig of mem you need 32 gigs for space min)

I thought the default Mint installs include a swap partition the size of available RAM, even up to Mint 14.  I have yet to find one that does away with a swap partition and preallocates a file in the file system for swap usage.  (which is a good practice IMO, as we can reclaim the space live if we need without shrinking/deleting swap partition, resizing partitions, and possibly rebooting)
TheWolf, it could be that a default install like was dedicating too much of 30GB HDD to a swap partition that matches your RAM capacity (12,16,24GB?) If folding exclusively, that swap partition would & should also never* be used.  *Will have to sacrifice the ability to hibernate.  To confirm how it partitioned, in the terminal please enter the following:
sudo partx /dev/sda
...and let us know what the output is.
Xavier Zepheriousnote -  the default swap on Linux is small less  than 1GB

Besides computers with <1GB installed RAM, which distros have been defaulting to that?
 
Back to TheWolf,
Xavier Zepheriousfor folding I don't think you'll have a BIGBETA or Bigadv that takes more than 4GB
so you wont hit a memory issue
If your GUI-less rig's purpose is for folding, you can skip a swap partition or file altogether since memory won't be an issue, and fully dedicate your ~30GB HDD to the OS and BA folding workspace.  I find that multi-GB swaps end up killing more performance than they're supposed to benefit because SSDs/HDDs speeds haven't caught up to our voratious memory appetites. And that's where large & fast RAM modules come in to serve the need much better than a SATA/SAS disk can.   Once we hit the need for virtual RAM with apps that saturate a 12GB or 24GB system, it's too late as the disk requests will also be so large, we will notice it stall.  (ie. how long does it take to read/write up to 48000MB?) By then, we need to consider reducing memory load, or adding more RAM. 
 
A reason Mint 14 might not be a favourite distro is it's default inheritence of unstable kernel(s)
http://forums.linuxmint.c....php?f=61&t=121383
It's really not the end of the world as you can easily rollback to a well-functioning one.
 
I'm sure you've already ruled out hardware instability since it has been going for such long periods without a hitch.
 
Though too late now, I should have steered you towards LVM2 so you could tweak with different partition setups without having to restart, let alone reinstall.  I hope you find whatever is misbehaving before it consumes your remaining ~26GB (Mint + GUI install fits in under 4GB)
 
ps. XZ, I really hope I don't sound like I'm picking on you.

What can you do with several pieces of scrap aluminum, access to a metal worker and some free time?

 
#61
TheWolf
CLASSIFIED Member
  • Total Posts : 3841
  • Reward points : 0
  • Joined: 2007/11/14 16:05:23
  • Location: Pascagoula, Ms
  • Status: offline
  • Ribbons : 9
Re:Native Linux SMP questions 2013/02/06 15:56:29 (permalink)
I have 24GB of ram on this SR2 12GB per CPU. 12GB on the other 3 2p systems 6GB per CPU.
On the 24GB rig the output is: # 1:     16384-234439535 (234423152 sectors, 120024 MB)
 
Edit: on the Rack-able server unit 2xX5670 12GB ram 2x74GB raid SAS the output is:
# 1:      2048-   206847 (   204800 sectors,    104 MB)
# 2:    206848-285153279 (284946432 sectors, 145892 MB)
Strange is I've never had this problem on this Rack unit. Only happens on the 3xSR2's.
All systems where set up the same to start with, dual boot install from within Windows7 default install except changed to Ext3 instead of Ext4.
Two of the SR2's are only running a single 80GB Sata II HDD. The above SR2 is a 128GB SSD.
post edited by TheWolf - 2013/02/06 16:23:30

EVGA Affiliate Code ZHKWRJB9D4 My HeatWare 
 
#62
Xavier Zepherious
CLASSIFIED Member
  • Total Posts : 4631
  • Reward points : 0
  • Joined: 2010/07/04 12:53:39
  • Location: Medicine Hat ,Alberta, Canada
  • Status: offline
  • Ribbons : 15
Re:Native Linux SMP questions 2013/02/06 18:02:33 (permalink)
daemauk

ps. XZ, I really hope I don't sound like I'm picking on you.

don't worry about it
there are plenty of people more versed that me on linux or unix (Sun work stations)
so the more info we have from experienced people the better
 
as for the swap size I did see a linux mint install having a default with a very small size (recent version and a tutorial on the install)
 
Im not an expert to be sure - just more than a casual user 
it's come a long way from when I started using linux (and win 98)
 
would you rather be working a PDP 11 and paper tape and punch cards
or  building your first PC and soldering the Chips sockets into the board (like Wozniak)
(Im from that era)
 

 
   


Primes found        Affiliate Code:YN2AHK39LH
 
 
#63
daemauk
New Member
  • Total Posts : 38
  • Reward points : 0
  • Joined: 2010/11/19 17:00:35
  • Status: offline
  • Ribbons : 0
Re:Native Linux SMP questions 2013/02/06 23:44:21 (permalink)
TheWolf I have 24GB of ram on this SR2 12GB per CPU. 12GB on the other 3 2p systems 6GB per CPU.
On the 24GB rig the output is: # 1:     16384-234439535 (234423152 sectors, 120024 MB)

Edit: on the Rack-able server unit 2xX5670 12GB ram 2x74GB raid SAS the output is:
# 1:      2048-   206847 (   204800 sectors,    104 MB)
# 2:    206848-285153279 (284946432 sectors, 145892 MB)
Strange is I've never had this problem on this Rack unit. Only happens on the 3xSR2's.
All systems where set up the same to start with, dual boot install from within Windows7 default install except changed to Ext3 instead of Ext4.
Two of the SR2's are only running a single 80GB Sata II HDD. The above SR2 is a 128GB SSD.
Thanks for the outputs.  Silly me, I should have picked up on the background regarding a Mint4Win/WUBI install route, so it didn't yield the partitions I was looking for.  Although, the information you provided filled me in & is quite helpful.  Your rack-mountable would have the least problems with disk space considering the host partition is larger than what's plugged into the 3 SR-2's.
To examine your swap file size & free disk space, in a terminal, can you please type in:
ls -l /host/linuxmint/disks/swap.disk && df
there shouldn't be any personal info in the output. :) Probably tomorrow depending on the size of the swap file, I'll piece together the commands on you how you would stop the swap and delete it seeing how plentiful your RAM is on each BA rig.  A windows zealot might poke fun at all these command lines, but it is seriously easier & quicker than describing menu/button/tab navigation and pasting screenshots to get at info.
 
I've kept away from Mint/Ubuntu installations from within windows like the plague because I have reservations about disk performance/reliability getting tarnished with a parent filesystem like NTFS, and I hear BigAdv disk writes can get intense b/t WUs.  -Hence, my lack of knowledge of default allocated swap  files that are smaller than RAM in these installations.  The NTFS implementation used in many current Linux distros can be so CPU heavy for large writes that I vowed to never make big outputs to NTFS directly from Linux again and instead funnel them through a Win2003 Server VM.  The virtual EXT3 partition or disk file probably also inherited fragmentation from the host, but it can just be defragmented and relocated to the beginning of the drive with good optimization s/w.  But nonetheless, Mint4Win/WUBI has been a friendly gateway for many Windows users to crossover into a slightly faster (than VM) Linux.
 
Cheers

What can you do with several pieces of scrap aluminum, access to a metal worker and some free time?

 
#64
TheWolf
CLASSIFIED Member
  • Total Posts : 3841
  • Reward points : 0
  • Joined: 2007/11/14 16:05:23
  • Location: Pascagoula, Ms
  • Status: offline
  • Ribbons : 9
Re:Native Linux SMP questions 2013/02/07 02:23:53 (permalink)
daemauk

To examine your swap file size & free disk space, in a terminal, can you please type in:
ls -l /host/linuxmint/disks/swap.disk && df
there shouldn't be any personal info in the output.
Cheers

From rig SR2 24GB ram 128GB SSD. I'll jump over to 1 of the other SR2 and post its info as well.
 
/host/linuxmint/disks/swap.disk
Filesystem     1K-blocks     Used Available Use% Mounted on
/dev/loop0      17884496 14169484   2806520  84% /
udev            12331964        4  12331960   1% /dev
tmpfs            4936468     1096   4935372   1% /run
none                5120        0      5120   0% /run/lock
none            12341164       76  12341088   1% /run/shm
none              102400       24    102376   1% /run/user
/dev/sda1      117211572 36139588  81071984  31% /host
 
Edit: SR2 1xE5645 + 1xE5620 16GB ram 80GB HDD.
I have this rig set to 20GB install NOW  instead of the default 18GB install.
These are all pretty fresh installs, so I'm not seeing any problems at the moment.

/host/linuxmint/disks/swap.disk
Filesystem     1K-blocks     Used Available Use% Mounted on
/dev/loop0      19900284 16075160   2814232  86% /
udev             6138868        4   6138864   1% /dev
tmpfs            2459232     1052   2458180   1% /run
none                5120        0      5120   0% /run/lock
none             6148072       76   6147996   1% /run/shm
none              102400       24    102376   1% /run/user
/dev/sda2       78075896 44724180  33351716  58% /host
 
Cpu speed from cpuinfo 3510.00Mhz 
True Frequency (without accounting Turbo) 3510 MHz

Socket [0] - [physical cores=4, logical cores=8, max online cores ever=4]
  CPU Multiplier 18x || Bus clock frequency (BCLK) 195.00 MHz
  TURBO ENABLED on 4 Cores, Hyper Threading ON
  Max Frequency without considering Turbo 3705.00 MHz (195.00 x [19])
  Max TURBO Multiplier (if Enabled) with 1/2/3/4 cores is  20x/20x/19x/19x
  Real Current Frequency 3705.00 MHz (Max of below)
        Core [core-id]  :Actual Freq (Mult.)      C0%   Halt(C1)%  C3 %   C6 %  Temp
        Core 1 [0]:       3705.00 (19.00x)       100       0       0       0    57
        Core 2 [1]:       3705.00 (19.00x)       100       0       0       0    61
        Core 3 [2]:       3705.00 (19.00x)       100       0       0       0    64
        Core 4 [3]:       3705.00 (19.00x)       100       0       0       0    67



Socket [1] - [physical cores=6, logical cores=12, max online cores ever=6]
  CPU Multiplier 18x || Bus clock frequency (BCLK) 195.00 MHz
  TURBO ENABLED on 6 Cores, Hyper Threading ON
  Max Frequency without considering Turbo 3705.00 MHz (195.00 x [19])
  Max TURBO Multiplier (if Enabled) with 1/2/3/4/5/6 cores is  21x/21x/20x/20x/19x/19x
  Real Current Frequency 3705.00 MHz (Max of below)
        Core [core-id]  :Actual Freq (Mult.)      C0%   Halt(C1)%  C3 %   C6 %  Temp
        Core 1 [4]:       3705.00 (19.00x)       100       0       0       0    46
        Core 2 [5]:       3705.00 (19.00x)       100       0       0       0    50
        Core 3 [6]:       3705.00 (19.00x)       100       0       0       0    48
        Core 4 [7]:       3705.00 (19.00x)       100       0       0       0    47
        Core 5 [8]:       3705.00 (19.00x)       100       0       0       0    50
        Core 6 [9]:       3705.00 (19.00x)       100       0       0       0    49

C0 = Processor running without halting

post edited by TheWolf - 2013/02/07 02:50:47

EVGA Affiliate Code ZHKWRJB9D4 My HeatWare 
 
#65
TheWolf
CLASSIFIED Member
  • Total Posts : 3841
  • Reward points : 0
  • Joined: 2007/11/14 16:05:23
  • Location: Pascagoula, Ms
  • Status: offline
  • Ribbons : 9
Re:Native Linux SMP questions 2013/02/07 03:08:15 (permalink)
This is from the Rack unit. Now that I think about it I'm pretty sure I did some updates packages on the above 2 rigs as where I haven't on this Rack unit. So I'm guessing that is where the extra space take has gone.
 
/host/linuxmint/disks/swap.disk
Filesystem     1K-blocks     Used Available Use% Mounted on
/dev/loop0      17884496  5716316  11259688  34% /
udev             6138836        4   6138832   1% /dev
tmpfs            2459228     1032   2458196   1% /run
none                5120        0      5120   0% /run/lock
none             6148060       76   6147984   1% /run/shm
none              102400       32    102368   1% /run/user
/dev/sda2      142473212 63357368  79115844  45% /host
 

EVGA Affiliate Code ZHKWRJB9D4 My HeatWare 
 
#66
NerdGZ
SSC Member
  • Total Posts : 568
  • Reward points : 0
  • Joined: 2010/12/15 03:28:12
  • Status: offline
  • Ribbons : 5
Re:Native Linux SMP questions 2013/02/07 09:06:43 (permalink)
have you updated your system with apt-get update && apt-get upgrade?.If the answer was YES do an apt-get clean this command clears out the local repository of retrieved package files. It removes everything but the lock file from /var/cache/apt/archives/ and /var/cache/apt/archives/partial/.Probably that´s the space you have lost and you are searching ;)
Even on emergency you can put an unused pendrive and use it as a swap file after locate the mount point
 
Example : On a terminal type the following commands
cfdisk /dev/sdX(where x is the name and mountpoint of the usb pendrive) for example i will use /dev/sdd so : cfdisk /dev/sdd
change partition type to 82 (linux swap) quit and save changes.
mkswap /dev/sdd1 (formats the pendrive as a swap device)
swapon /dev/sdd1 (initializes the pendrive to be used as a swap device and you have an emergency swap )
 
post edited by NerdGZ - 2013/02/07 09:18:30

   AFFILIATE CODE:7T7V3Q1VW6 

#67
daemauk
New Member
  • Total Posts : 38
  • Reward points : 0
  • Joined: 2010/11/19 17:00:35
  • Status: offline
  • Ribbons : 0
Re:Native Linux SMP questions 2013/02/11 14:11:43 (permalink)
I've finally got some time to catch up on my written responses to people 'round the world & Net, so here goes...
Go ahead with
sudo apt-get clean
... mentioned by NerdGZ if you want to free up old, and uneeded packages.
TheWolf
daemaukTo examine your swap file size & free disk space, in a terminal, can you please type in:
ls -l /host/linuxmint/disks/swap.disk && df
 
there shouldn't be any personal info in the output.
Cheers

Oh no, my bad.  I should have clarified the switch is small letter 'L' to get the 'long' listings for swap file size...
TheWolfFrom rig SR2 24GB ram 128GB SSD. I'll jump over to 1 of the other SR2 and post its info as well.
   
/host/linuxmint/disks/swap.disk
Filesystem     1K-blocks     Used Available Use% Mounted on
/dev/loop0      17884496 14169484   2806520  84% /
...but I guess the exact size isn't that important.  I infer it is taking up over 8GB of space, and slowing down operation with needless use.  Mind you, every access to this swap is translating through an EXT3 filesystem, then again on an NTFS layer, all for the purpose of trying to keep things like log files from getting evicted out of cache.  Has your disk usage been dipping under 84% there?

TheWolfEdit: SR2 1xE5645 + 1xE5620 16GB ram 80GB HDD.
I have this rig set to 20GB install NOW  instead of the default 18GB install.
These are all pretty fresh installs, so I'm not seeing any problems at the moment.
   
/host/linuxmint/disks/swap.disk
Filesystem     1K-blocks     Used Available Use% Mounted on
/dev/loop0      19900284 16075160   2814232  86% /

Eh, your folding machine should be happy with about 2.7GB free.  To be even happier, you may want to uninstall big things like LibreOffice office productivity suite, if you haven't already, unless you really plan on having a few people sitting around your SR2's & rack unit making presentation slides. (yeah, who would have thought that would have been one of the things installed in the under <10mins it took to install Mint OS but it was designed to be a desktop OS, after all.)
 
As promised, here's how you would deativate and remove your swap file:
sudo swapoff -a && sudo rm /host/linuxmint/disks/swap.disk && sudo nano /etc/fstab
...and comment out the line with the keyword "swap" on it by prefixing a '#' at the beginning.  So it should look like the following:
#/host/linuxmint/disks/swap.disk  swap  swap defaults 0 0
save and close by pressing CTRL+X.
 
Here's some low lying fruit since you've learned how to edit your grub configuration file... add the parameter "divider=10" so that the kernel switches out of processes 100 times per second, instead of 1000.  The performance boost is appreciable.  The default tuning was really meant for GUI users that prefer responsiveness on a highly multitasking system.  But that is clearly not the case here.
 
I hope this helps you toward a more stable Linux folding setup and learn a bit more about what you are running.
 
Best of luck!
post edited by daemauk - 2013/02/11 14:22:59

What can you do with several pieces of scrap aluminum, access to a metal worker and some free time?

 
#68
TheWolf
CLASSIFIED Member
  • Total Posts : 3841
  • Reward points : 0
  • Joined: 2007/11/14 16:05:23
  • Location: Pascagoula, Ms
  • Status: offline
  • Ribbons : 9
Re:Native Linux SMP questions 2013/02/24 10:03:09 (permalink)
Think I found the problem, well a temp fix that is. I'm still guessing here,
but looks like its holding a lot of log files in var/log.
Doing a fsck as root from within the GUI seems to clean those up quite a bit.
This fsck didn't seem to work from a recovery boot pure root.
Also not sure why those are growing over time for the one rig. Lost a 8103
at 87% done last night because of the low drive space problem.

EVGA Affiliate Code ZHKWRJB9D4 My HeatWare 
 
#69
daemauk
New Member
  • Total Posts : 38
  • Reward points : 0
  • Joined: 2010/11/19 17:00:35
  • Status: offline
  • Ribbons : 0
Re:Native Linux SMP questions 2013/02/25 01:46:11 (permalink)
ouch, that bites! I just lost a nearly completed WU even after finishing a V7 WU slot, but didn't remove the folding slot before uninstalling the corresponding card.
 
Do you recal the names of those log files that accumulated?  Perhaps catch them as they grow with
ls -l /var/log
(that's dash-L) and google search them or report back here if there's no good answer.  Log files normally compress to nearly nothing unless there's a serious system error that repeats waay to much that it overwelms compression.

What can you do with several pieces of scrap aluminum, access to a metal worker and some free time?

 
#70
texinga
CLASSIFIED ULTRA Member
  • Total Posts : 5121
  • Reward points : 0
  • Joined: 2010/07/03 14:30:32
  • Status: offline
  • Ribbons : 20
Re:Native Linux SMP questions 2013/02/25 05:24:52 (permalink)
I don't know enough about Linux to provide much help Wolf, but if I can compare something on one of my rigs, let me know.  My gut reaction to a log file that could fill-up a lot of disk space would be the same as Daemauk's.  I forget, is this a native Linux install, Wubi or VBox?  If I'm reading correctly above, you have ~2.8GB free on your disk?



#71
TheWolf
CLASSIFIED Member
  • Total Posts : 3841
  • Reward points : 0
  • Joined: 2007/11/14 16:05:23
  • Location: Pascagoula, Ms
  • Status: offline
  • Ribbons : 9
Re:Native Linux SMP questions 2013/02/25 06:55:39 (permalink)
There where to many diferent log files to know if one was the root cause. Some where 800MB in size.
Think I'll try turning down my OC just a tad to see if that is the problem.
 
@Tex its native Linux.
 
Thanks for the help guys.

EVGA Affiliate Code ZHKWRJB9D4 My HeatWare 
 
#72
texinga
CLASSIFIED ULTRA Member
  • Total Posts : 5121
  • Reward points : 0
  • Joined: 2010/07/03 14:30:32
  • Status: offline
  • Ribbons : 20
Re:Native Linux SMP questions 2013/02/25 07:43:28 (permalink)
Wolf, doing a little searching I see that this log file eating disk space problem (while for some people is not an issue) sometimes becomes an issue under certain conditions.  I'm gonna guess that many Folders are not triggering a condition since I don't recall people talking about it happening to them.  In your case, it would appear that you have something that is triggering a lot of log data.  Most advice that I've read is to find out what is causing the problem (which may or may not be easy for us non-Linux experts). 
 
I also see lots or people talking about using the "Logrotate" program that (if I'm reading correctly) is included with Linux.  Wonder if that program would help at least manage the logs while you diagnose the issue?
 
http://library.linode.com...ls/utilities/logrotate
 
http://www.techrepublic.c...=content;siu-container
 



#73
daemauk
New Member
  • Total Posts : 38
  • Reward points : 0
  • Joined: 2010/11/19 17:00:35
  • Status: offline
  • Ribbons : 0
Re:Native Linux SMP questions 2013/02/25 19:12:47 (permalink)
TheWolf
Thanks for the help guys.
You're very welcome!
TheWolf
@Tex its native Linux.
Actually, yours is of the Mint4Win variety since your filesystem stems from /dev/loop0 (represents the container file in your Windows disk), which is how Mint4Win sets it up, I believe.  Otherwise, a native or virtual machine install would have started from /dev/sda1 or something like that.
 
Looking at the 'ls' command further, I found the '-S' switch which will sort the directory listing by size.  Then you can see what the largest files are eg:
ls -l -S /var/log
If you really want to give into GUI temptation, it's also very easy if you started the desktop environment back up and used the file browser and sort by size by clicking the file size header (sound familiar?)
 
800MB seems awefully huge for a logfile, can you tell us what some of them are?
 
With BA equipment like that and running Linux, I hope you end up in my March M@dness team!
Good luck~
post edited by daemauk - 2013/02/25 19:14:55

What can you do with several pieces of scrap aluminum, access to a metal worker and some free time?

 
#74
TheWolf
CLASSIFIED Member
  • Total Posts : 3841
  • Reward points : 0
  • Joined: 2007/11/14 16:05:23
  • Location: Pascagoula, Ms
  • Status: offline
  • Ribbons : 9
Re:Native Linux SMP questions 2013/02/25 20:40:38 (permalink)
They were compressed files, I don't recall there names.
I'm not at that rig at the moment "its in the shop" so I'll have a look later to see if I can recall what they where.
I backed my OC down some since there is probably some stability issue causing this continued log write.
I haven't seen any instability, its been folding well until the allowed space gets low. Folding is all the rigs does.

EVGA Affiliate Code ZHKWRJB9D4 My HeatWare 
 
#75
daemauk
New Member
  • Total Posts : 38
  • Reward points : 0
  • Joined: 2010/11/19 17:00:35
  • Status: offline
  • Ribbons : 0
Re:Native Linux SMP questions 2013/02/26 10:33:09 (permalink)
Those compressed logs are just for archival purposes for humans to read.  The good thing about that is that you can simply delete them if not needed any longer to recover some space-better than fsck would.  So when you get your rig back, do extract and read them to see if you can spot where the cries for help are coming from.  You may need to open them with administrative privileges.

What can you do with several pieces of scrap aluminum, access to a metal worker and some free time?

 
#76
NerdGZ
SSC Member
  • Total Posts : 568
  • Reward points : 0
  • Joined: 2010/12/15 03:28:12
  • Status: offline
  • Ribbons : 5
Re:Native Linux SMP questions 2013/02/26 11:20:16 (permalink)
View common log file /var/log/messages using any one of the following command:# tail -f /var/log/messages
# less /var/log/messages
# more -f /var/log/messages
# most /var/log/messages (you need most package install with apt-get install most)

Common Linux log files name and usage

  • /var/log/message: General message and system related stuff
  • /var/log/auth.log: Authenication logs
  • /var/log/kern.log: Kernel logs
  • /var/log/cron.log: Crond logs (cron job)
  • /var/log/maillog: Mail server logs
  • /var/log/qmail/ : Qmail log directory (more files inside this directory)
  • /var/log/httpd/: Apache access and error logs directory
  • /var/log/lighttpd: Lighttpd access and error logs directory
  • /var/log/boot.log : System boot log
  • /var/log/mysqld.log: MySQL database server log file
  • /var/log/secure: Authentication log
  • /var/log/utmp or /var/log/wtmp : Login records filles
In short /var/log is the location where you should find all Linux logs file. However some applications such as httpd have a directory within /var/log/ for their own log files. You can rotate log file using logrotate (man logrotate for manual) software and monitor logs files using logwatch (apt-get install logwatch and man logwatch) software.
post edited by NerdGZ - 2013/02/26 11:25:25

   AFFILIATE CODE:7T7V3Q1VW6 

#77
TheWolf
CLASSIFIED Member
  • Total Posts : 3841
  • Reward points : 0
  • Joined: 2007/11/14 16:05:23
  • Location: Pascagoula, Ms
  • Status: offline
  • Ribbons : 9
Re:Native Linux SMP questions 2013/04/19 18:46:28 (permalink)
Here is something I could use some help with.
I'm getting the same error on all 3 of my SR2 running linux mint 14.
Never knew this before using CTRL ALT F1 terminal.
The error check just keeps running forever looks like.
Is there a way to stop this error check?
 
Error is:
picehp 0000:00:1c:0pcie04>Link Training error occurs
picehp 0000:00:1c:0pcie04>Failed to check link ststus
 

EVGA Affiliate Code ZHKWRJB9D4 My HeatWare 
 
#78
TheWolf
CLASSIFIED Member
  • Total Posts : 3841
  • Reward points : 0
  • Joined: 2007/11/14 16:05:23
  • Location: Pascagoula, Ms
  • Status: offline
  • Ribbons : 9
Re:Native Linux SMP questions 2013/04/19 19:31:13 (permalink)
daemauk

Those compressed logs are just for archival purposes for humans to read.  The good thing about that is that you can simply delete them if not needed any longer to recover some space-better than fsck would.  So when you get your rig back, do extract and read them to see if you can spot where the cries for help are coming from.  You may need to open them with administrative privileges.

After reading back over this I believe this whole log build up and disk loss is caused by this error I just posted.
I been just deleting those logs since our last talks on this subject,
but would like to find a way to fix or stop this steady error reading.
I'm sure it is also hurting my folding TPF with all the activity going on in the background with the same error steady running.
 

EVGA Affiliate Code ZHKWRJB9D4 My HeatWare 
 
#79
texinga
CLASSIFIED ULTRA Member
  • Total Posts : 5121
  • Reward points : 0
  • Joined: 2010/07/03 14:30:32
  • Status: offline
  • Ribbons : 20
Re:Native Linux SMP questions 2013/04/20 06:26:49 (permalink)
From everything I've read (from people much more knowledgeable about Linux than me), they all (first) recommend discovering and solving what is causing the error condition that is filling the log.  I know that may sound kinda basic, but is likely the best way to deal with this situation.



#80
TheWolf
CLASSIFIED Member
  • Total Posts : 3841
  • Reward points : 0
  • Joined: 2007/11/14 16:05:23
  • Location: Pascagoula, Ms
  • Status: offline
  • Ribbons : 9
Re:Native Linux SMP questions 2013/04/20 10:19:42 (permalink)
texinga

From everything I've read (from people much more knowledgeable about Linux than me), they all (first) recommend discovering and solving what is causing the error condition that is filling the log.  I know that may sound kinda basic, but is likely the best way to deal with this situation.

Only thing I find strange about this is its only happening on the SR2 "All Three" not just one and the error is the same on each.
Error is:
picehp 0000:00:1c:0pcie04>Link Training error occurs
picehp 0000:00:1c:0pcie04>Failed to check link status
 
I'd say something to do with PCIE since that's part of the error.
Do you have Linux on your SR2 Tex? If so what flavor?
Could you do a test for me with yours to see if its getting the same error?
Pretty simple test, boot into Linux use CTRL+ALT+F1 to get to that terminal,
if you have the same error you'll see it right away or not, you can just CTRL+ALT+F8 back to the GUI at this point.
 
I'm trying to see if its the flavor of Linux that's running that might be the root cause, perhaps trying to read hardware it doesn't know how to then producing the error, because I kind of find it hard to believe that all three SR2's could have some sort of failed hardware exactly the same and be causing this error.
 
post edited by TheWolf - 2013/04/20 10:23:03

EVGA Affiliate Code ZHKWRJB9D4 My HeatWare 
 
#81
texinga
CLASSIFIED ULTRA Member
  • Total Posts : 5121
  • Reward points : 0
  • Joined: 2010/07/03 14:30:32
  • Status: offline
  • Ribbons : 20
Re:Native Linux SMP questions 2013/04/20 10:26:37 (permalink)
Wolf,  on my SR-2 I'm running Win7 + VBox + Ubuntu 12.04 Server CLI mode only, no GUI).  I don't know if that is a close enough match to what you are running to be of any use.  I can try it in my config if it would be of any help though.



#82
TheWolf
CLASSIFIED Member
  • Total Posts : 3841
  • Reward points : 0
  • Joined: 2007/11/14 16:05:23
  • Location: Pascagoula, Ms
  • Status: offline
  • Ribbons : 9
Re:Native Linux SMP questions 2013/04/20 10:41:46 (permalink)
I never seen this using Vbox so I doubt you would get the error that way.
It may be Mint 14 that's the problem, but I didn't want to do a clean install
of something else at this point to see if that is the case.
All are running fine and folding well, other than I have to keep a eye on the
HDD space and clean those logs about once a week to regain the HDD space.

EVGA Affiliate Code ZHKWRJB9D4 My HeatWare 
 
#83
texinga
CLASSIFIED ULTRA Member
  • Total Posts : 5121
  • Reward points : 0
  • Joined: 2010/07/03 14:30:32
  • Status: offline
  • Ribbons : 20
Re:Native Linux SMP questions 2013/04/20 10:51:54 (permalink)
Doing a little "mining", I see that most people that have this recurring error (like you have) have to recompile the kernel to solve it.  Some of them are laptop users and have to issue a specific command to help with the problem (i.e. disable hotplugging with this parameter:
eeepc_laptop.hotplug_disabled=1.).  Seems it has something to do with "hotplugging".
 
I did locate this thread (right here) of an SR-2 owner complaining about recurrent pcie error messages and in the end, his suggested solution was to recompile the kernel.  Here is the gist of what a person said was the issue:
 
"The issue is that the Unbuntu kernel is including a pre-compiled kernel module called PCIe hot plugging. It is added in just before the kernel loads kermic. Just recompile the kernel excluding the PCIe hot plug module and you should be fine. The error is telling you that the hot plug module (pciehp) is not detecting a card that is available for hot removal or replacement."
 
Thread:  http://forums.evga.com...?m=1280919&mpage=1
 
PS: Yeah, in my SR-2 setup with VBox and 12.04 Server, I don't see any errors at all when the CLI interface launches. 
post edited by texinga - 2013/04/20 10:53:28



#84
TheWolf
CLASSIFIED Member
  • Total Posts : 3841
  • Reward points : 0
  • Joined: 2007/11/14 16:05:23
  • Location: Pascagoula, Ms
  • Status: offline
  • Ribbons : 9
Re:Native Linux SMP questions 2013/04/20 10:55:26 (permalink)
Maybe with any luck someone else that is running a SR2 and Linux will see this
and do the test and report back if they see the error or not and what flavor of Linux there running.
 
My next option is to try to catch one close to finishing its work unit and give the -oneunit flag.
Then wipe the HDD and install a different flavor of Linux hoping I fine one that doesn't have this same error.

EVGA Affiliate Code ZHKWRJB9D4 My HeatWare 
 
#85
texinga
CLASSIFIED ULTRA Member
  • Total Posts : 5121
  • Reward points : 0
  • Joined: 2010/07/03 14:30:32
  • Status: offline
  • Ribbons : 20
Re:Native Linux SMP questions 2013/04/20 11:06:49 (permalink)
If you do try another "flavor", give Ubuntu 12.04 Server version with the Musky Script a try.



#86
TheWolf
CLASSIFIED Member
  • Total Posts : 3841
  • Reward points : 0
  • Joined: 2007/11/14 16:05:23
  • Location: Pascagoula, Ms
  • Status: offline
  • Ribbons : 9
Re:Native Linux SMP questions 2013/04/20 11:18:39 (permalink)
texinga

If you do try another "flavor", give Ubuntu 12.04 Server version with the Musky Script a try.

Thanks Tex I did a search with the error code but didn't find anything.
As for recompile the kernel I have to clue how to do this and not wanting to learn either. lol
Not wanting to go to a full terminal client either, that would be fine if I was running a VBox in W7.
I really like Mint, but not this problem. I'll look around maybe try the Ubuntu 12.04 GUI version.

EVGA Affiliate Code ZHKWRJB9D4 My HeatWare 
 
#87
texinga
CLASSIFIED ULTRA Member
  • Total Posts : 5121
  • Reward points : 0
  • Joined: 2010/07/03 14:30:32
  • Status: offline
  • Ribbons : 20
Re:Native Linux SMP questions 2013/04/20 11:33:47 (permalink)
TheWolf
texinga
If you do try another "flavor", give Ubuntu 12.04 Server version with the Musky Script a try.

Thanks Tex I did a search with the error code but didn't find anything.
As for recompile the kernel I have to clue how to do this and not wanting to learn either. lol
Not wanting to go to a full terminal client either, that would be fine if I was running a VBox in W7.
I really like Mint, but not this problem. I'll look around maybe try the Ubuntu 12.04 GUI version.

Whaaaat?  Oh, everybody know how to recompile the kernel...you just do a....ughhhh....oh yeah, type-in....ummmmm....  Maybe in my dreams I could do it! 
 
I have Ubuntu 12.04 LTS with the Musky Script running on my 4P and it has been very solid.  I love Mint as much as the next person, but for Folding, I've had better luck, better performance with older, stable versions of Ubuntu.  Don't ask me why because if I knew, I could also tell ya how to recompile a kernel.  Where's Jini...she probably knows! 



#88
Punchy
CLASSIFIED Member
  • Total Posts : 2872
  • Reward points : 0
  • Joined: 2010/02/06 09:33:05
  • Status: online
  • Ribbons : 14
Re:Native Linux SMP questions 2013/04/20 16:59:59 (permalink)
Let's see - install kernel sources, make menuconfig,.... that's all I got.  Haven't done it in 10 years and the info has dropped out of the memory banks.

  
#89
TheWolf
CLASSIFIED Member
  • Total Posts : 3841
  • Reward points : 0
  • Joined: 2007/11/14 16:05:23
  • Location: Pascagoula, Ms
  • Status: offline
  • Ribbons : 9
Re:Native Linux SMP questions 2013/04/20 19:58:26 (permalink)
Well I installed Ubuntu 12.04 Desktop on 1 of the SR2's when going
to the CTRL+ALT+F1 terminal the error isn't there any longer.
Only problem now is I don't like this Ubuntu 12.04 desktop version at all. Maybe I'll get use to it.
That or I'll look into some way to fix Mint 14.
 
Got FAH installed and setup, folding its 1st bigadv WU 8105, I'll wait to see how the TPF are before making a decision if I'll stay with 1204.
 
Thanks for the help everyone.

EVGA Affiliate Code ZHKWRJB9D4 My HeatWare 
 
#90
Page: < 1234 > Showing page 3 of 4
Jump to:
  • Back to Mobile