On Thu, 2007-12-20 at 16:42 -0600, James Richardson wrote:
> Jeff,
>
> I downloaded the sources via git
> (git://git.kernel.org/pub/scm/linux/storage/autofs/autofs.git) however
> when automount starts up I get a floating point exception. I would
> appreciate those debug patches you mentioned as I'm not sure where the
> floating point exception is occurring.
I don't remember saying anything about debugging patches?
>
> # strace automount -d
> execve("/usr/sbin/automount", ["automount", "-d"], [/* 24 vars */]) = 0
> uname({sys="Linux", node="c33n69", ...}) = 0
> brk(0) = 0x80041000
> --- SIGFPE (Floating point exception) @ 0 (0) ---
> +++ killed by SIGFPE +++
> Process 3702 detached
> [EMAIL PROTECTED] ~]# uname -a
> Linux c33n69 2.6.21-GX #1 SMP Thu Apr 26 14:03:16 CDT 2007 i686 i686
> i386 GNU/Linux
I really don't know what's happening here.
There's not enough info.
>
> ---
> James T. Richardson, Jr.
> [EMAIL PROTECTED]
> eXcellence in IS Solutions, Inc.
> 713-862-9200 x226
>
> Making IT Work for You
> HPC & Enterprise IT Solutions
> * HPC Application Acceleration
> * Cluster Design, Deploy, Manage, Train
> * Linux/Windows Integration
> * Remote Management, Backup, Anti-Spam/Virus
> * Network Assessments, Design
> * Security Audits, Design
> * Datacenter Design, Relocation
> * Messaging and Collaboration
>
>
> -----Original Message-----
> From: Jeff Moyer [mailto:[EMAIL PROTECTED]
> Sent: Friday, December 07, 2007 3:22 PM
> To: James Richardson
> Cc: Ian Kent; [email protected]
> Subject: Re: [autofs] Slow mounts when using large round robin sets
>
> "James Richardson" <[EMAIL PROTECTED]> writes:
>
> > Ian,
> >
> > Thanks for the strace tips. By performing an strace on the 4th thread
> I do see several 'poll' calls:
> >
> > [pid 3858] 11:38:47.332883 poll([{fd=4, events=POLLIN,
> revents=POLLIN}], 1, 3000) = 1
> > [pid 3858] 11:38:47.335494 poll([{fd=40, events=POLLOUT,
> revents=POLLOUT}], 1, 0) = 1
> > [pid 3858] 11:38:47.335704 poll([{fd=40, events=POLLIN,
> revents=POLLIN}], 1, 5000) = 1
> > [pid 3858] 11:38:47.339133 poll([{fd=40, events=POLLIN,
> revents=POLLIN}], 1, 5000) = 1
> >
> >
> > I did not see any of the "restart_syscall".
> >
> > One interesting fact is that it opened /etc/hosts 290 times:
> > [pid 3858] 11:38:45.008533 open("/etc/hosts", O_RDONLY) = 4
> >
> > # cat autofs.debug.out | grep "/etc/hosts" | wc
> > 290 2030 17882
> >
> > I have determined that this issue started occurring since we
> > upgraded to kernel 2.6.21 and autofs5. Using the stock CentOS 4.2
> > kernel (2.6.9-22.EL) and autofs-4.1.3-155 this behavior is not
> > exhibited.
>
> That's a pretty big difference in code!
>
> Are you comfortable using git and make? If so, you might try
> building and testing the latest git sources. The reason I say this is
> there is a fix in there that avoids calling into the replicated server
> code for singleton entries, and that code is the only place I believe
> the resolver is consulted.
>
> If that fixes your problem, then I'd be very interested to figure out
> exactly why. I can give you some debug patches if necessary.
>
> Thanks,
>
> Jeff
>
> NOTICE:
> This message may contain privileged or otherwise confidential information.
> If you are not the intended recipient, please immediately advise the sender
> by reply email and delete the message and any attachments without using,
> copying or disclosing the contents.
>
>
>
> _______________________________________________
> autofs mailing list
> [email protected]
> http://linux.kernel.org/mailman/listinfo/autofs
_______________________________________________
autofs mailing list
[email protected]
http://linux.kernel.org/mailman/listinfo/autofs