var memory usage increasing


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers var memory usage increasing
# 15  
Old 09-02-2008
I am not sure about centos 4.x? Can't you extend the /var filesystem online without reinstalling the OS.
# 16  
Old 09-02-2008
i am not sure i have never tried it before. That would be super helpful if you could then i can add another gig just for buffer.
# 17  
Old 09-02-2008
I have no experince on centos so I can't help you there.
# 18  
Old 09-08-2008
Anybody know how to allocate more space to a partition without reinstalling the whole OS?

Thanks
# 19  
Old 09-08-2008
When you installed the system did you use LVM (Logical Volume Manager)?

When you do df is would look somethign like:

/dev/mapper/RootVG-var
####### ####### ####### 51% /var

I named my Volume group "RootVG" yours could be different.

If you use LVM you can extend/reduce partitions.

Otherwise its going to be a bit harder.
# 20  
Old 09-08-2008
One Option is your not using LVM:

1) Backup your databases
2) Add New Harddrive
3) Mount to somewhere /var/mydatabases (whatever)
4) Reconfigure mysql to use new drive for databases (basedir, i beleive)
5) Restore Databases

That would clear up rest of var for logging and what ever else and you would have your mysql dbs on its own drive(s). You could install 2 Drives and setup raid.
# 21  
Old 09-09-2008
Do you think it would be ok to delete anything in this dir?

Code:
# ls -al |more
total 37228
drwxr-xr-x   2 rpm  rpm      4096 Sep  3 22:50 .
drwxr-xr-x  24 root root     4096 May 15 22:58 ..
-rw-r--r--   1 rpm  rpm   2813952 Aug 22 15:46 Basenames
-rw-r--r--   1 rpm  rpm     12288 May 15 23:01 Conflictname
-rw-r--r--   1 root root    16384 Sep  3 22:50 __db.001
-rw-r--r--   1 root root  1318912 Sep  3 22:50 __db.002
-rw-r--r--   1 root root   450560 Sep  3 22:50 __db.003
-rw-r--r--   1 rpm  rpm    757760 Aug 22 15:46 Dirnames
-rw-r--r--   1 rpm  rpm   5279744 Aug 22 15:46 Filemd5s
-rw-r--r--   1 rpm  rpm     28672 Aug 22 15:46 Group
-rw-r--r--   1 rpm  rpm     32768 Aug 22 15:46 Installtid
-rw-r--r--   1 rpm  rpm     45056 Aug 22 15:46 Name
-rw-r--r--   1 rpm  rpm  27951104 Aug 22 15:46 Packages
-rw-r--r--   1 rpm  rpm    335872 Aug 22 15:46 Providename
-rw-r--r--   1 rpm  rpm    110592 Aug 22 15:46 Provideversion
-rw-r--r--   1 rpm  rpm     12288 Aug 22 15:46 Pubkeys
-rw-r--r--   1 rpm  rpm    217088 Aug 22 15:46 Requirename
-rw-r--r--   1 rpm  rpm    147456 Aug 22 15:46 Requireversion
-rw-r--r--   1 rpm  rpm     86016 Aug 22 15:46 Sha1header
-rw-r--r--   1 rpm  rpm     77824 Aug 22 15:46 Sigmd5
-rw-r--r--   1 rpm  rpm     12288 Aug 22 15:46 Triggername

this is in /var/lib/rpm

thanks
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Red Hat

Swap memory usage keeps increasing.

Hi the version is RedHat 6.2 (Oracle DB server) I don't know why swap memory usage keeps increasing... I used to check swap memory usage Free -m and another way. total used free shared buffers cached Mem: 32183 31861 322 ... (3 Replies)
Discussion started by: tom8254
3 Replies

2. UNIX for Dummies Questions & Answers

Memory usage per user,percent usage,sytem time in ksh

Let's say i have 20 users logged on Server. How can I know how much memory percent used each of them is using with system time in each user? (2 Replies)
Discussion started by: roy1912
2 Replies

3. UNIX for Dummies Questions & Answers

Command to display the space usage (memory usage) of a specific directory.

Hi all, Can you please tell me the command, with which one can know the amount of space a specific directory has used. df -k . ---> Displays, the amount of space allocated, and used for a directory. du -k <dir name> - gives me the memory used of all the files inside <dir> But i... (2 Replies)
Discussion started by: abhisheksunkari
2 Replies

4. AIX

How to monitor the IBM AIX server for I/O usage,memory usage,CPU usage,network..?

How to monitor the IBM AIX server for I/O usage, memory usage, CPU usage, network usage, storage usage? (3 Replies)
Discussion started by: laknar
3 Replies

5. Solaris

current CPU usage, memory usage, disk I/O oid(snmp)

Hi, I want to monitor the current cpu usage, monitor usage , disk I/o and network utlization for solaris using SNMP. I want the oids for above tasks. can you please tell me that Thank you (2 Replies)
Discussion started by: S_venkatesh
2 Replies

6. HP-UX

how can I find cpu usage memory usage swap usage and logical volume usage

how can I find cpu usage memory usage swap usage and I want to know CPU usage above X% and contiue Y times and memory usage above X % and contiue Y times my final destination is monitor process logical volume usage above X % and number of Logical voluage above can I not to... (3 Replies)
Discussion started by: alert0919
3 Replies

7. Solaris

increasing /var

i need to increase the size of my /var filesystem but i have no idea how to do it. Filesystem kbytes used avail capacity Mounted on /dev/dsk/c0t3d0s0 144799 74952 55377 58% / /dev/dsk/c0t3d0s6 342183 201079 106894 66% /usr /proc ... (0 Replies)
Discussion started by: roguekitton
0 Replies

8. Programming

memory increasing

On Alpha True64 UNIX platform, we use "ps aux" command to display the process information, it also displays the %MEM,VSZ, RRS field. The question is that which field really indicates the program's memeory is increasing, thanks (0 Replies)
Discussion started by: Frank2004
0 Replies

9. Programming

Monitor CPU usage and Memory Usage

how can i monitor usages of CPU, Memory, Hard disk etc. under SUN Solaries through a c program or java program i want to store that data into database so i can show it graphically thanks in advance (2 Replies)
Discussion started by: Gajanad Bihani
2 Replies

10. Programming

memory increasing on UNIX

hi, i'm writing a program that is running always... but, i have a problem that memory is increasing.. i want to know whether does stack size inscease or not, when program is running.. i don't know what is the cause stack or heap... i need some help.. :( (1 Reply)
Discussion started by: netfer
1 Replies
Login or Register to Ask a Question