Why would this happen :
mew / # ps afx
-/bin/bash: /bin/ps: Input/output error
I've tested the memory, reinstalled the box, changed the raid card...
What else can i check ? Anyone have any ideas on how i can test for
issues with the server ? kernel ?
P
--
</N>
------
In the beginning, there was nothing. And God said, 'Let there be
Light.' And there was still nothing, but you could see a bit better.
--
gento...@gentoo.org mailing list
> mew / # ps afx
> -/bin/bash: /bin/ps: Input/output error
I forgot to mention it happens after a while ( random times ) and for
all procs :
mew / # ps afx
-/bin/bash: /bin/ps: Input/output error
mew / # w
-/bin/bash: /usr/bin/w: Input/output error
mew / # df -h
-/bin/bash: /bin/df: Input/output error
P
--
gento...@gentoo.org mailing list
Is the partition ps on mounted noexec?
--
Tom Wesley <t...@tomaw.org>
I know I've seen this before, but don't remember exactly what fixed it.
I'd suggest looking for or doing the following
1. full partitions or running out of tmp space, lsof, emerge lsof, may
help here.
2. too many file descriptors in use
3. fsck all your partitions
kashani
--
gento...@gentoo.org mailing list
> I know I've seen this before, but don't remember exactly what fixed it.
> I'd suggest looking for or doing the following
>
> 1. full partitions or running out of tmp space, lsof, emerge lsof, may
> help here.
> 2. too many file descriptors in use
> 3. fsck all your partitions
I've just increased the number in :
/proc/sys/fs/file-max
I've increased it to :
mew ~ # cat /proc/sys/fs/file-max
1024230
But it still seems to happen
The problem doesn't seem to be caused by anything in particular ( that
i can see ) the filesystem is XFS, and i'm unsure how to check to make
sure that there's tmp space available, I'm also unsure how to use
lsof.
> df -h /tmp
It's a single partition system with 31 odd gb free.
> -----Original Message-----
> From: Neil Bothwick [mailto:ne...@digimed.co.uk]
> Sent: 12 December 2004 23:09
> To: gento...@lists.gentoo.org
> Subject: Re: [gentoo-user] Re: Process space issues ?? ??
>
>
> On Sun, 12 Dec 2004 20:36:03 +0200, Patrick wrote:
>
> > i'm unsure how to check to make
> > sure that there's tmp space available,
>
> df -h /tmp
>
Or, if you don't want know the size of every single directory under /tmp
do:
# df -h -s /tmp
which will show you a summary of the whole /tmp. Bear in mind though
that the size of /tmp (and the linked /var/tmp is increasing
substantially during installs of large packages e.g. OOo and you'll need
to run df during the emerge to see what's happening. I'm sure that you
could write a script to run df in regular intervals during an install to
show you what's happening with spare disk space.
Cheers,
Mick
--
gento...@gentoo.org mailing list
merlin ~ # df -h -s /tmp
df: invalid option -- s
Try `df --help' for more information.
I think you are thinking about du, not df.
--
Boyd Stephen Smith Jr.
bs...@volumehost.com
ICQ: 514984 YM/AIM: DaTwinkDaddy
--
gento...@gentoo.org mailing list
All I get is this invalid option message, which is the info for my /dev/hda3
(my root partition). Trying df with other options, like:
wrc@mymachine ~ $ df -h /tmp
Filesystem Size Used Avail Use% Mounted on
/dev/hda3 9.4G 7.8G 1.6G 84% /
results in the same output. Same thing happens with any other combo of
options shown in the --help on /tmp. What's the problem here?
---------------------------------------------------------------------------------------------
wrc@mymachine ~ $ df -h -s /tmp
df: invalid option -- s
Try `df --help' for more information.
wrc@mymachine ~ $ df --help
Usage: df [OPTION]... [FILE]...
Show information about the filesystem on which each FILE resides,
or all filesystems by default.
Mandatory arguments to long options are mandatory for short options too.
-a, --all include filesystems having 0 blocks
-B, --block-size=SIZE use SIZE-byte blocks
-h, --human-readable print sizes in human readable format (e.g., 1K 234M
2G)
-H, --si likewise, but use powers of 1000 not 1024
-i, --inodes list inode information instead of block usage
-k like --block-size=1K
-l, --local limit listing to local filesystems
--no-sync do not invoke sync before getting usage info (default)
-P, --portability use the POSIX output format
--sync invoke sync before getting usage info
-t, --type=TYPE limit listing to filesystems of type TYPE
-T, --print-type print filesystem type
-x, --exclude-type=TYPE limit listing to filesystems not of type TYPE
-v (ignored)
--help display this help and exit
--version output version information and exit
SIZE may be (or may be an integer optionally followed by) one of following:
kB 1000, K 1024, MB 1000*1000, M 1024*1024, and so on for G, T, P, E, Z, Y.
Report bugs to <bug-co...@gnu.org>.
----------------------------------------------------------------
--
gento...@gentoo.org mailing list
Please accept my apologies for confusing you! I meant to say use the #
du -h -s /tmp command which shows amount of disk space used by a
directory/subdirectory. Then you need to subtract this from the total
free space in that partition (e.g. from the 1.6G shown as available on
your hda3).
Regards,
--
> > --------------------------------------------------------------
>
> Please accept my apologies for confusing you! I meant to say use the #
> du -h -s /tmp command which shows amount of disk space used by a
> directory/subdirectory. Then you need to subtract this from the total
> free space in that partition (e.g. from the 1.6G shown as available on
> your hda3).
>
> Regards,
--
Mick
Thanks for the clarification, Mick- I should have figured that one out
myself!
--
gento...@gentoo.org mailing list