* Alpha memory problems
@ 2000-10-01 19:57 Ken Siersma
2000-10-03 4:57 ` W Bauske
2000-10-03 14:19 ` Reinier Bikker
0 siblings, 2 replies; 7+ messages in thread
From: Ken Siersma @ 2000-10-01 19:57 UTC (permalink / raw)
To: axp-list
Hello,
This is kind of an off the wall question because I don't know much of
the specifics, plus I am new to sys admin, especially with the alpha.
Here goes - We have an alpha machine running RH 6.2 w/
kernel 2.2.16. We have a fortran program that writes out a binary data
file (DMP file) for each timestep of calculation, plus
a number of temporary (TMP) files. We also have a number of
GUI programs written with C and motif. Everything works fine on our
alpha machine (dual 667 MHz). We have a customer who is running the
same operating system and kernel, and the only obvious difference is his
is a dual 750 I believe. He can write out the TMP files, but not the
DMP file. It seg faults as soon as the program opens the DMP file to
write. Also, the GUI programs seg fault when he's accessing the disk.
One wierd bug is if he uses one of the GUI programs compiled for 1 GB
Ram (he has 2 GB), it crashes if he does a specific function, but if I
compile it for 128 MB Ram, it doesn't crash. Obviously this is no good,
he needs to be able to use a lot of Ram.
My question is this: what should I look into on his machine to setup
the memory correctly? Usually we don't
support our customers hardware problems, but we suggested to him that he
buy the alpha so we feel a little responsible.
Thanks,
Ken
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Alpha memory problems
2000-10-01 19:57 Alpha memory problems Ken Siersma
@ 2000-10-03 4:57 ` W Bauske
2000-10-03 12:17 ` Ken Siersma
2000-10-03 14:19 ` Reinier Bikker
1 sibling, 1 reply; 7+ messages in thread
From: W Bauske @ 2000-10-03 4:57 UTC (permalink / raw)
To: axp-list
Ken Siersma wrote:
>
> is a dual 750 I believe. He can write out the TMP files, but not the
> DMP file. It seg faults as soon as the program opens the DMP file to
> write. Also, the GUI programs seg fault when he's accessing the disk.
> One wierd bug is if he uses one of the GUI programs compiled for 1 GB
> Ram (he has 2 GB), it crashes if he does a specific function, but if I
> compile it for 128 MB Ram, it doesn't crash. Obviously this is no good,
> he needs to be able to use a lot of Ram.
> My question is this: what should I look into on his machine to setup
> the memory correctly? Usually we don't
> support our customers hardware problems, but we suggested to him that he
>
Seems more likely a SW bug than a HW bug. I'd suggest you
have your customer send you his TMP files and you try to do
something with them on your system. Why are you compiling
your code for a particular "size"? Why not use an argument
or better yet, your code looks at it's input files and decides
how much memory it needs to process them? Anyway, these are
most likely code bugs.
Wes
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Alpha memory problems
2000-10-03 4:57 ` W Bauske
@ 2000-10-03 12:17 ` Ken Siersma
2000-10-03 12:37 ` Nikolaos Margaritis
0 siblings, 1 reply; 7+ messages in thread
From: Ken Siersma @ 2000-10-03 12:17 UTC (permalink / raw)
To: axp-list
Thank you for your reply,
We have considered dynamically allocating this code, but we haven't had time
to do it yet, and have not had problems until now. Even still, if it were
solely a bug in the code, why does every bug I mentioned work on our ALPHA
machine and not his? Our ALPHA machine runs the same OS and kernel (RH 6.2
and 2.2.16), with the same amount of RAM (2 GB) as his. Ours is a dual 667
MHz and his is a dual 750. That's the only apparent difference in the
machines.
Thanks,
Ken
W Bauske wrote:
> Ken Siersma wrote:
> >
> > is a dual 750 I believe. He can write out the TMP files, but not the
> > DMP file. It seg faults as soon as the program opens the DMP file to
> > write. Also, the GUI programs seg fault when he's accessing the disk.
> > One wierd bug is if he uses one of the GUI programs compiled for 1 GB
> > Ram (he has 2 GB), it crashes if he does a specific function, but if I
> > compile it for 128 MB Ram, it doesn't crash. Obviously this is no good,
> > he needs to be able to use a lot of Ram.
> > My question is this: what should I look into on his machine to setup
> > the memory correctly? Usually we don't
> > support our customers hardware problems, but we suggested to him that he
> >
>
> Seems more likely a SW bug than a HW bug. I'd suggest you
> have your customer send you his TMP files and you try to do
> something with them on your system. Why are you compiling
> your code for a particular "size"? Why not use an argument
> or better yet, your code looks at it's input files and decides
> how much memory it needs to process them? Anyway, these are
> most likely code bugs.
>
> Wes
>
> _______________________________________________
> Axp-list mailing list
> Axp-list@redhat.com
> https://listman.redhat.com/mailman/listinfo/axp-list
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Alpha memory problems
2000-10-03 12:17 ` Ken Siersma
@ 2000-10-03 12:37 ` Nikolaos Margaritis
2000-10-03 13:39 ` Ken Siersma
0 siblings, 1 reply; 7+ messages in thread
From: Nikolaos Margaritis @ 2000-10-03 12:37 UTC (permalink / raw)
To: axp-list
On Tue, 03 Oct 2000, you wrote:
> Thank you for your reply,
> We have considered dynamically allocating this code, but we haven't had time
> to do it yet, and have not had problems until now. Even still, if it were
> solely a bug in the code, why does every bug I mentioned work on our ALPHA
> machine and not his? Our ALPHA machine runs the same OS and kernel (RH 6.2
> and 2.2.16), with the same amount of RAM (2 GB) as his. Ours is a dual 667
> MHz and his is a dual 750. That's the only apparent difference in the
> machines.
> Thanks,
> Ken
Are you using the same compiler? If yes is it the same version?
Have you checked for possible differences wrt compilling flags?
Maybe the stacksize or some other limit is different....
Dr. Nikolaos A. Margaritis
Molecular Modelling of Materials Laboratory
Department of Physical Chemistry
National Centre for Scientific Research "Demokritos"
Ag. Paraskevi, Athens 15310, Greece.
Tel.: +30(0)1 650 3960, +30(0)944 773242 (mobile)
Fax.: +30(0)1 651 1766
URL: http://mmml.chem.demokritos.gr/~nmargar
---------------------------------------------------------
So, if anybody wants to have hardware sent to them; don't
call me, but instead write your own operating system.
It has worked every time for me.
Linus Torvalds
^ permalink raw reply [flat|nested] 7+ messages in thread* Re: Alpha memory problems
2000-10-03 12:37 ` Nikolaos Margaritis
@ 2000-10-03 13:39 ` Ken Siersma
2000-10-03 14:04 ` Nikolaos Margaritis
0 siblings, 1 reply; 7+ messages in thread
From: Ken Siersma @ 2000-10-03 13:39 UTC (permalink / raw)
To: axp-list
Hello,
Thank you also for your reply. We compile everything on our ALPHA machine, for
our use and our customer's use. We thought maybe compiling it on his machine
would help, but we still had the same problems after doing that. The limits are
as follows:
cputime unlimited
filesize unlimited
datasize unlimited
stacksize 8192 kbytes
coredumpsize 0 kbytes
memoryuse unlimited
descriptors 1024
memorylocked unlimited
maxproc 256
openfiles 1024
This is the same setup as on our machine. Any other thoughts?
Ken
Nikolaos Margaritis wrote:
> On Tue, 03 Oct 2000, you wrote:
> > Thank you for your reply,
> > We have considered dynamically allocating this code, but we haven't had time
> > to do it yet, and have not had problems until now. Even still, if it were
> > solely a bug in the code, why does every bug I mentioned work on our ALPHA
> > machine and not his? Our ALPHA machine runs the same OS and kernel (RH 6.2
> > and 2.2.16), with the same amount of RAM (2 GB) as his. Ours is a dual 667
> > MHz and his is a dual 750. That's the only apparent difference in the
> > machines.
> > Thanks,
> > Ken
>
> Are you using the same compiler? If yes is it the same version?
> Have you checked for possible differences wrt compilling flags?
> Maybe the stacksize or some other limit is different....
>
> Dr. Nikolaos A. Margaritis
> Molecular Modelling of Materials Laboratory
> Department of Physical Chemistry
> National Centre for Scientific Research "Demokritos"
> Ag. Paraskevi, Athens 15310, Greece.
> Tel.: +30(0)1 650 3960, +30(0)944 773242 (mobile)
> Fax.: +30(0)1 651 1766
> URL: http://mmml.chem.demokritos.gr/~nmargar
> ---------------------------------------------------------
> So, if anybody wants to have hardware sent to them; don't
> call me, but instead write your own operating system.
> It has worked every time for me.
>
> Linus Torvalds
>
> _______________________________________________
> Axp-list mailing list
> Axp-list@redhat.com
> https://listman.redhat.com/mailman/listinfo/axp-list
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Alpha memory problems
2000-10-03 13:39 ` Ken Siersma
@ 2000-10-03 14:04 ` Nikolaos Margaritis
0 siblings, 0 replies; 7+ messages in thread
From: Nikolaos Margaritis @ 2000-10-03 14:04 UTC (permalink / raw)
To: axp-list
On Tue, 03 Oct 2000, you wrote:
> Hello,
> Thank you also for your reply. We compile everything on our ALPHA machine, for
> our use and our customer's use. We thought maybe compiling it on his machine
> would help, but we still had the same problems after doing that. The limits are
> as follows:
>
> cputime unlimited
> filesize unlimited
> datasize unlimited
> stacksize 8192 kbytes
> coredumpsize 0 kbytes
> memoryuse unlimited
> descriptors 1024
> memorylocked unlimited
> maxproc 256
> openfiles 1024
>
> This is the same setup as on our machine. Any other thoughts?
> Ken
The setup seems ok to me. Has the code been written so that parallel
execution could be exploited? In other words, does the code include HPF or
MPI directives?
If yes, is the SMP of the problematic machine working properly?
If not, then maybe you should check the glibc and gcc versions as well. Are
they the same?
Nikos
--
Dr. Nikolaos A. Margaritis
Molecular Modelling of Materials Laboratory
Department of Physical Chemistry
National Centre for Scientific Research "Demokritos"
Ag. Paraskevi, Athens 15310, Greece.
Tel.: +30(0)1 650 3960, +30(0)944 773242 (mobile)
Fax.: +30(0)1 651 1766
URL: http://mmml.chem.demokritos.gr/~nmargar
---------------------------------------------------------
So, if anybody wants to have hardware sent to them; don't
call me, but instead write your own operating system.
It has worked every time for me.
Linus Torvalds
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Alpha memory problems
2000-10-01 19:57 Alpha memory problems Ken Siersma
2000-10-03 4:57 ` W Bauske
@ 2000-10-03 14:19 ` Reinier Bikker
1 sibling, 0 replies; 7+ messages in thread
From: Reinier Bikker @ 2000-10-03 14:19 UTC (permalink / raw)
To: axp-list
On Sun, 1 Oct 2000, Ken Siersma wrote:
: He can write out the TMP files, but not the DMP file. It seg faults
: as soon as the program opens the DMP file to write. Also, the GUI
: programs seg fault when he's accessing the disk.
: One wierd bug is if he uses one of the GUI programs compiled for 1 GB
: Ram (he has 2 GB), it crashes if he does a specific function, but if I
: compile it for 128 MB Ram, it doesn't crash.
Could this be a case of flaky hardware, most probably memory? Bad memory
can be disguised as a harddisk problems via the file buffer.
A reasonably sure sign of bad memory is when the nigtly cron jobs like
slocate are segfaulting. Does something like "find / -print >& /dev/null"
produce a segfault on your clients system? Do you have a way of testing
memory directly?
Reinier.
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2000-10-03 14:19 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-10-01 19:57 Alpha memory problems Ken Siersma
2000-10-03 4:57 ` W Bauske
2000-10-03 12:17 ` Ken Siersma
2000-10-03 12:37 ` Nikolaos Margaritis
2000-10-03 13:39 ` Ken Siersma
2000-10-03 14:04 ` Nikolaos Margaritis
2000-10-03 14:19 ` Reinier Bikker
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox