Operating System - HP-UX
1832100 Members
3295 Online
110038 Solutions
New Discussion

MPlayer exceeding maxssiz

 
Saurav Sarkar
Advisor

MPlayer exceeding maxssiz

hi all,
I have compiled and installed mplayer on my HP-Ux 11.00 machine with 256 MB memory and
swap space as follows:
Kb Kb Kb PCT START/ Kb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 524288 0 524288 0% 0 - 1 /dev/vg00/lvol2
dev 409600 119184 290416 29% 0 - 0 /dev/vg00/lvol9
reserve - 307116 -307116
memory 174432 26612 147820 15%
total 1108320 452912 655408 41% - 0 -
However when I try to run mplayer, the machine freezes for a long time before getting a segment violation because of insufficient swap space/mplayer exceeding maxssiz. I have since then increased my maxssiz to upto 256 MB without getting any result. Current values are as follows:
Name Value(Bytes)
maxssiz 83570688
maxssiz_64bit 268435456
maxtsiz 1073741824
maxtsiz_64bit 4294967296
maxdsiz 3221225472
maxdsiz_64bit 17179869184
Can anyone help? Thanks in advance.

saurav
8 REPLIES 8
Steve Steel
Honored Contributor

Re: MPlayer exceeding maxssiz

Hi

regenerate your kernel with kernel parameter

swapmem_on set to 0

With so little memory you do not need it.

Then try


Steve Steel
If you want truly to understand something, try to change it. (Kurt Lewin)
T G Manikandan
Honored Contributor

Re: MPlayer exceeding maxssiz

Also,
Is the mplayer executable a 32 bit application.

Then you should increase maxssiz and not maxssiz_64

Just do a

#file

to check the 32 bit or 64 bit executable


Thanks
James Murtagh
Honored Contributor

Re: MPlayer exceeding maxssiz

Hi,

You may need to change the stack size in the shell...if you are using the posix shell for example:

# ulimit -a|grep stack
stack(kbytes) 8192
# ulimit -s 16384
# ulimit -a|grep stack
stack(kbytes) 16384

Regards,

James.
Saurav Sarkar
Advisor

Re: MPlayer exceeding maxssiz

Well, setting swapmem_on to 0 doesn't help. Also the result of ulimit -s is 81612. I don't know how to increase it further. I have tried ulimit -Hs and ulimit -Ss but the value doesn't increase any more.

saurav
Yaroshenko
New Member

Re: MPlayer exceeding maxssiz

In your case
maxssiz/1024=83570688/1024=81162
and ulimit -S shows the same value! You can just increase maxssiz + relink kernel + reboot. To make it simple I used for this
su - root
sam -> Kernel Configuration -> Configurable Parameters
Yaroshenko
New Member

Re: MPlayer exceeding maxssiz

In your case
maxssiz/1024=83570688/1024=81162
and ulimit -S shows the same value! You can just increase maxssiz + relink kernel + reboot. To make it simple I used for this
su - root
sam -> Kernel Configuration -> Configurable Parameters
Yaroshenko
New Member

Re: MPlayer exceeding maxssiz

In your case
maxssiz/1024=83570688/1024=81162
and ulimit -S shows the same value! You can just increase maxssiz + relink kernel + reboot. To make it simple I used for this
su - root
sam -> Kernel Configuration -> Configurable Parameters
Yaroshenko
New Member

Re: MPlayer exceeding maxssiz

In your case
maxssiz/1024=83570688/1024=81162
and ulimit -S shows the same value! You can just increase maxssiz + relink kernel + reboot. To make it simple I used for this
su - root
sam - Kernel Configuration - Configurable Parameters