14 Jul, 2009, Guest wrote in the 1st comment:
Votes: 0
Hi im trying to compile and get this..

ianshirm@evileye:~/rommud/src$ make
gcc -O -g3 -Wall -DIMC -DIMCROM -c -o obj/act_comm.o act_comm.c

cc1: out of memory allocating 4064 bytes after a total of 4583424 bytes
make: *** [obj/act_comm.o] Error 1

any idea why?
-Xrak
14 Jul, 2009, Zeno wrote in the 2nd comment:
Votes: 0
Are you at your quota?
14 Jul, 2009, Guest wrote in the 3rd comment:
Votes: 0
No where near,

ianshirm@evileye:~/rommud/src$ quota
Disk quotas for user ianshirm (uid 1006):
Filesystem blocks quota limit grace files quota limit grace
/dev/sde1 6964 1048576 1048576 361 0 0
ianshirm@evileye:~/rommud/src$
14 Jul, 2009, Guest wrote in the 4th comment:
Votes: 0
That usually happens when the system itself runs out of memory. You can check to see how close that is to happening by typing "free" at the command prompt. If you have a RAM quota, that may also be why it happened as you might have exceeded your allotment.
14 Jul, 2009, Zeno wrote in the 5th comment:
Votes: 0
Do users have a hard memory/RAM limit?
14 Jul, 2009, Cratylus wrote in the 6th comment:
Votes: 0
Xrakisis said:
No where near,

ianshirm@evileye:~/rommud/src$ quota
Disk quotas for user ianshirm (uid 1006):
Filesystem blocks quota limit grace files quota limit grace
/dev/sde1 6964 1048576 1048576 361 0 0
ianshirm@evileye:~/rommud/src$


Isn't that the disk quota?

If you're out of memory, then maybe yer hitting a memory quota.
You might want to talk to the evileye admin.

-Crat
http://lpmuds.net
14 Jul, 2009, Guest wrote in the 7th comment:
Votes: 0
ianshirm@evileye:~/rommud/src$ free
total used free shared buffers cached
Mem: 8199772 8154532 45240 0 67884 7185056
-/+ buffers/cache: 901592 7298180
Swap: 15623172 128 15623044
14 Jul, 2009, Guest wrote in the 8th comment:
Votes: 0
Zeno said:
Do users have a hard memory/RAM limit?


I don't know if they do on evileye, but it is possible to set hard memory limits on users.


Xrakisis said:
ianshirm@evileye:~/rommud/src$ free
total used free shared buffers cached
Mem: 8199772 8154532 45240 0 67884 7185056
-/+ buffers/cache: 901592 7298180
Swap: 15623172 128 15623044


Yep, looks like the system you're on is low on memory - the free memory is only 45240 which is bad, though there should have been enough swap to fall back on to prevent problems.
14 Jul, 2009, Zeno wrote in the 9th comment:
Votes: 0
Quote
free
45240

I lol'd
14 Jul, 2009, wrkq wrote in the 10th comment:
Votes: 0
Quote
ulimit -a
, I believe.
Stack size, data seg size, max memory, max virt memory. Any set?

Zeno said:
Quote
free
45240

I lol'd


Note line below. Most of it is system cache, "almost as good as free".
14 Jul, 2009, wrkq wrote in the 11th comment:
Votes: 0
14 Jul, 2009, Guest wrote in the 12th comment:
Votes: 0
http://www.evileyehosting.net/phpsysinfo...


Memory Usage
Type Usage Free Used Size
Physical Memory 99% 73.96 MB 7.75 GB 7.82 GB
Kernel + applications 11% 882.49 MB
Buffers 1% 64.91 MB
Cached 87% 6.82 GB
Disk Swap 1% 14.90 GB 128.00 KB 14.90 GB
14 Jul, 2009, Guest wrote in the 13th comment:
Votes: 0
ianshirm@evileye:~/rommud/src$ ulimit -a
core file size (blocks, -c) 0
data seg size (kbytes, -d) 32768
scheduling priority (-e) 0
file size (blocks, -f) unlimited
pending signals (-i) 69632
max locked memory (kbytes, -l) 32
max memory size (kbytes, -m) 32768
open files (-n) 1024
pipe size (512 bytes, -p) 8
POSIX message queues (bytes, -q) 819200
real-time priority (-r) 0
stack size (kbytes, -s) 8192
cpu time (seconds, -t) unlimited
max user processes (-u) 25
virtual memory (kbytes, -v) 32768
file locks (-x) unlimited
ianshirm@evileye:~/rommud/src$
14 Jul, 2009, Zeno wrote in the 14th comment:
Votes: 0
Quote
Note line below. Most of it is system cache, "almost as good as free".

Apparently "almost as good" isn't good enough.
14 Jul, 2009, wrkq wrote in the 15th comment:
Votes: 0
Xrakisis said:
data seg size (kbytes, -d) 32768
(…)
max memory size (kbytes, -m) 32768
(…)
virtual memory (kbytes, -v) 32768


You're limited to 32MB of total memory space. Memory, not only RAM.
14 Jul, 2009, Cratylus wrote in the 16th comment:
Votes: 0
Samson said:
Yep, looks like the system you're on is low on memory - the free memory is only 45240 which is bad, though there should have been enough swap to fall back on to prevent problems.


Actually it's probably not low ram at all. Note the "cached" number.
That's the amount of ram used for caching files. Modern systems often do
this in order to minimize disk hits, because accessing disk is a slow
operation. Caching lets you boost performance by avoiding unnecessary
disk i/o. When more ram is needed, cached stuff gets released.

Having said that, 7g of cached data is a lot of cached data. I'm guessing someone
is using the hell out of that system, squeezing as much ram for whatever it
is they're doing, which suggests to me they'd likely have an interest in capping
your ram, if possible.

Like I said, talk to the admin…he'll know more about your specific situation
that we will.

-Crat
http://lpmuds.net
14 Jul, 2009, Guest wrote in the 17th comment:
Votes: 0
this mean someone has a process running at like 99%?
14 Jul, 2009, wrkq wrote in the 18th comment:
Votes: 0
No, this means that it's a linux system with no (or not enough) adjustments in sysctl.conf. Linux caching system by default doesn't swap/free even a lone byte unless it's required by another process.
Having a HUGE amount taken by caches is completely normal. The compiler crashes because (according to output of ulimit -a) the account is limited to 32 MB of virtual memory for everything to share.
14 Jul, 2009, Cratylus wrote in the 19th comment:
Votes: 0
Xrakisis said:
this mean someone has a process running at like 99%?


The amount of CPU used isn't really what I'm talking about, although indeed
that may also be happening.

Basically I'm explaining the probable reason you have a memory limit.

It doesn't really matter what the cpu utilization is. Your problem is a memory limit.

I am making the guess that your admin wants to limit your ram because
he does something that uses a lot of ram for disk caching. But this is
only a guess. You need to talk to you admin to know if you can get
more memory. Or you need to use less memory.

-Crat
http://lpmuds.net
14 Jul, 2009, Guest wrote in the 20th comment:
Votes: 0
im not using any..
ianshirm@evileye:~/rommud/src$ ps ux
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
ianshirm 17593 0.0 0.0 66032 1828 ? S 15:39 0:00 sshd: ianshirm@pts/1
ianshirm 17594 0.0 0.0 20432 3336 pts/1 Ss 15:39 0:00 -bash
ianshirm 18451 0.0 0.0 16012 1100 pts/1 R+ 17:50 0:00 ps ux
ianshirm@evileye:~/rommud/src$
0.0/22