RE: [users@httpd] firefox file upload hanging on AMD64

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> -----Original Message-----
> From: Jacqui Caren [mailto:jacqui.caren@xxxxxxxxxxxx] 
> Sent: Donnerstag, 9. Februar 2006 16:06
> To: users@xxxxxxxxxxxxxxxx
> Subject: [users@httpd] firefox file upload hanging on AMD64
> 
> 
> A development system I use is failing to upload data 99% of the
> time - it very infrequently works 1 in every 1000 or so hits.

Try using curl to make the upload form the command line. In verbose mode, you can see all the headers etc. and maybe you can spot what's going wrong, eg:

/usr/local/bin/curl --verbose -F uploadfile=@xxxxxxxx http://server/upload-page-url

where "uploadfile" is the "name" of the tag <input type="file"> (NB, the "@" is necessary in front of the file name). If you need any other CGI parameters, add them with additional "-F" options (eg, -F userid=joe, etc.)

Rgds,
Owen Boyle
Disclaimer: Any disclaimer attached to this message may be ignored. 

> 
> I could not find anything in the downloaded list archives
> or via altavista and was wondering of anyone else has hit this?
> 
> 
> ----------------------------------------------
> 
> I am still trying to get a truly minimal test case but here is
> the gist of the problem.
> 
> POST (file upload) data seems to cause Apache2.0.45 to 'hang'.
> The backend is perl and CGI.pm (latest stable versions)
> I have also updated firefox to latest stable to no end.
> 
> In building a minimal test case I am have eliminated CGI.pm
> by use of a CGI script that does nothing other than "hello world" :-)
> 
> Jacqui
> 
> A test case is attached. I am trying this on other linuxen
> to see if it is AMD64 specific. A post without a file works
> but with even a small file hangs.
> 
> Some config details
> -------------------
> [jacqui@xxxxxx ~]$ uname -a
> Linux xxxxxxxxx 2.6.12 #1 Wed Jul 6 09:04:02 BST 2005 x86_64
>    AMD Athlon(tm) 64 Processor 3000+ unknown GNU/Linux
> [jacqui@xxxxxx ~]$ /usr/local/ebs/ap2/bin/httpd -v
> Server version: Apache/2.0.55
> Server built:   Feb  9 2006 10:12:05
> [jacqui@xxxxxx ~]$ /usr/local/ebs/ap2/bin/httpd -V
> Server version: Apache/2.0.55
> Server built:   Feb  9 2006 10:12:05
> Server's Module Magic Number: 20020903:11
> Architecture:   64-bit
> Server compiled with....
>   -D APACHE_MPM_DIR="server/mpm/prefork"
>   -D APR_HAS_SENDFILE
>   -D APR_HAS_MMAP
>   -D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
>   -D APR_USE_SYSVSEM_SERIALIZE
>   -D APR_USE_PTHREAD_SERIALIZE
>   -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
>   -D APR_HAS_OTHER_CHILD
>   -D AP_HAVE_RELIABLE_PIPED_LOGS
>   -D HTTPD_ROOT="/usr/local/ebs/ap2"
>   -D SUEXEC_BIN="/usr/local/ebs/ap2/bin/suexec"
>   -D DEFAULT_PIDLOG="logs/httpd.pid"
>   -D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
>   -D DEFAULT_LOCKFILE="logs/accept.lock"
>   -D DEFAULT_ERRORLOG="logs/error_log"
>   -D AP_TYPES_CONFIG_FILE="conf/mime.types"
>   -D SERVER_CONFIG_FILE="conf/httpd.conf"
> [jacqui@xxxxxx ~]$
> 
> 
> 
Diese E-mail ist eine private und persönliche Kommunikation. Sie hat keinen Bezug zur Börsen- bzw. Geschäftstätigkeit der SWX Gruppe. This e-mail is of a private and personal nature. It is not related to the exchange or business activities of the SWX Group. Le présent e-mail est un message privé et personnel, sans rapport avec l'activité boursière du Groupe SWX.
 
 
This message is for the named person's use only. It may contain confidential, proprietary or legally privileged information. No confidentiality or privilege is waived or lost by any mistransmission. If you receive this message in error, please notify the sender urgently and then immediately delete the message and any copies of it from your system. Please also immediately destroy any hardcopies of the message. You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. The sender's company reserves the right to monitor all e-mail communications through their networks. Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorised to state them to be the views of the sender's company.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux