[Solved] /var is filling continuously

Thread Tools Search this Thread
Homework and Emergencies Emergency UNIX and Linux Support [Solved] /var is filling continuously
# 8  
Old 09-12-2011
No other user have access on cron except root. I don't see anything is related to that

# crontab -l | grep -v "#"
0 19 * * * /usr/local/bin/CLEANER_v1.1.ksh > /var/log/CLEANER.log 2>&1
10 3 * * * /usr/sbin/logadm
15 3 * * 0 /usr/lib/fs/nfs/nfsfind
30 3 * * * [ -x /usr/lib/gss/gsscred_clean ] && /usr/lib/gss/gsscred_clean
25 17 * * * /var/tmp/sys_stat.ksh > /var/tmp/sys_stat.ksh.out 2>&1

Last edited by solaris_1977; 09-12-2011 at 11:43 AM..
# 9  
Old 09-12-2011
Post contents of /etc/inittab
# 10  
Old 09-12-2011
ap::sysinit:/sbin/autopush -f /etc/iu.ap
sp::sysinit:/sbin/soconfig -f /etc/sock2path
smf::sysinit:/lib/svc/bin/svc.startd    >/dev/msglog 2<>/dev/msglog </dev/console
p3:s1234:powerfail:/usr/sbin/shutdown -y -i5 -g0 >/dev/msglog 2<>/dev/msglog
pt:s1234:powerfail:/usr/lib/svc/method/installupdates lock

# 11  
Old 09-12-2011
Maybe it is in the SMF control? Try:
svcs -a | grep -i glance

If you don't see any output, then check all the services reported by svcs -a and look for anything that might be your application.
# 12  
Old 09-12-2011
I couldn't find anything there as well
# svcs -a | egrep -i "scope|mwa|ttd|midaemon|glan"
disabled       21:22:21 svc:/network/rpc/cde-ttdbserver:tcp

# 13  
Old 09-12-2011
Try this:
1. kill midaemon (or stop it with stop script)
2. run this code
dtrace -wn 'syscall:::entry/execname=="midaemon"/{system ("ptree %d", ppid);exit(0)}'

3. wait for midaemon to get respawned. DTrace should then show who started this process.
This User Gave Thanks to bartus11 For This Post:
# 14  
Old 09-12-2011
It gave me below output
# dtrace -wn 'syscall:::entry/execname=="midaemon"/{system ("ptree %d", ppid);exit(0)}'
dtrace: description 'syscall:::entry' matched 237 probes
dtrace: allowing destructive actions
CPU     ID                    FUNCTION:NAME
  0   4488                resolvepath:entry 4146  /bin/sh /usr/local/bb/bin/bbrun /usr/local/bb/ext/bb-system.sh
  23513 /bin/ksh /usr/local/bb/ext/bb-system.sh
    23557 head -11
      23558 glance -adviser_only -syntax /usr/local/bb/tmp/bb-system.tmp.23513 -j 1 -iterat

I got it, it is a script of BB, which is starting it
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

[bash] script is filling up my /var/log

I am trying to create a script that checks if my VPN connection is up and running... Everything seems to work as except but for some reason, the script fills up my /var/log/auth.log with the below information Dec 13 01:07:44 debian sudo: soichiro : TTY=pts/0 ; PWD=/home/soichiro/Desktop ;... (5 Replies)
Discussion started by: soichiro
5 Replies

2. Shell Programming and Scripting

Csh , how to set var value into new var, in short string concatenation

i try to find way to make string concatenation in csh ( sorry this is what i have ) so i found out i can't do : set string_buff = "" foreach line("`cat $source_dir/$f`") $string_buff = string_buff $line end how can i do string concatenation? (1 Reply)
Discussion started by: umen
1 Replies

3. Shell Programming and Scripting

[SOLVED] Read html attachment from /var/mail

Hi, I am receiving an email to the server with a html attachment. When I check the /var/mail the attachment is showing as junk characters. I want to move that html file to a particular location in that server. Please help me. Regards Neethu (4 Replies)
Discussion started by: Neethu
4 Replies

4. Emergency UNIX and Linux Support

Error filling /var/adm/messages

I have Solaris-11 non-global zone running under Solaris-11 global zone. Every few minutes, this message is getting in /var/adm/message of non-global zone Aug 31 08:31:53 zonnjc002dbp01 statd: statd: cannot talk to statd at NAS1, RPC: Timed out(5) NAS1 is already mounted as NFS and working... (2 Replies)
Discussion started by: solaris_1977
2 Replies

5. Shell Programming and Scripting

[Solved] Looping var from two files

Hey Guys, I have been searching but unable to find solution for this; Got 2 files: #File A A B C #File B 1 2 3 And would like to 'merge' file and get a out put like; A1 A2 A3 B1 (2 Replies)
Discussion started by: bsdguy
2 Replies

6. HP-UX

[Solved] /var directory in HP-UX is showing 95%?

Hi Everyone, My var directory is showing near to 100% ? What are the files should i delete to make it less?? Kindly suggest # bdf -i Filesystem kbytes used avail %used iused ifree %iuse Mounted on /dev/vg00/lvol3 1048576 107616 933616 10% 3342 29394 10% /... (10 Replies)
Discussion started by: yadvinder
10 Replies

7. Solaris

Difference between /var/log/syslog and /var/adm/messages

Hi, Is the contents in /var/log/syslog and /var/adm/messages are same?? Regards (3 Replies)
Discussion started by: vks47
3 Replies

8. Solaris

diff b/w /var/log/syslog and /var/adm/messages

hi sirs can u tell the difference between /var/log/syslogs and /var/adm/messages in my working place i am having two servers. in one servers messages file is empty and syslog file is going on increasing.. and in another servers message file is going on increasing but syslog file is... (2 Replies)
Discussion started by: tv.praveenkumar
2 Replies

9. UNIX for Advanced & Expert Users

diff command filling /var filesystem space

Hi, I am using diff command to check difference between two files.Both files are very big and when i execute this command /var temp space is filled up almost 99%. Can any one please tell me is there any way i can specify directory name which has more space so that diff can use that dir for... (2 Replies)
Discussion started by: ukatru
2 Replies

10. UNIX for Advanced & Expert Users

Process responsible for filling up /var/tmp

Hi, Help ! - I have a process which I cannot find that is writing to /var/tmp every 10 minutes and filling up my partition, it is also filling up my wtmpx file. I have some software error correction for a faulty DIMM at the moment - is this likely to be causing this as well as over-loading my... (3 Replies)
Discussion started by: Mal
3 Replies
Login or Register to Ask a Question