Software :: Apache + Perl Large File Upload - Connection Reset

Nov 11, 2010

I'm having some trouble uploading large log files to our server using perl. We are required to upload files larger than 2GB (regardless of how infeasible that sounds). I have tried the same thing on two different servers:

Code:

1. Linux 2.6.32-24-generic #39-Ubuntu 10.04 i686 GNU/Linux Server version: Apache/2.2.14 (Ubuntu)
2. Linux 2.6.5-7.244-smp #1 SLES_9 x86_64 x86_64 x86_64 GNU/Linux Server version: Apache/2.0.49 Smaller files upload without issue, however when a file larger than 1048576000 bytes is sent to be uploaded, the browser immediately fails, yielding this:

Code: This web page is not available. The web page at blah might be temporarily down or it may have moved permanently to a new web address. Below is the original error message: Error 101 net::ERR_CONNECTION_RESET): Unknown error. The apache log gives some indication of the file size limit:

Code: Requested content-length of 5954683941 is larger than the configured limit of 1048576000 However, I have looked through the apache config files and can't seem to find where this setting for content-length is. Is there an absolute maximum setting for file uploads in apache? Is it also possible that this is actually caused by a Perl error?

View 1 Replies


ADVERTISEMENT

Networking :: Multiple FTP Upload Socket Error "Connection Reset By Peer: Socket Write"

Jan 31, 2010

I am pragmatically trying to upload a list of files from my client machine to a proFTPd server I have running on Ubuntu. Every time I get several (around fifty) files into the transfer, I get the following error: Quote: Connection reset by peer: socket write error

I am able to remotely upload 25,000 small files of ~ 1K in size, but when I go to upload hundreds of 2-4 Mb files, I get a socket write error. Am I using up all available sockets before they can be released? If so, how do I release the sockets? If not, what does this error mean and why am I getting it?

View 1 Replies View Related

Software :: Troubleshoot "connection Reset / Interrupted" In Apache?

Oct 5, 2010

I've got root. I'm getting tons of "Connection Interrupted" and "connection reset" errors. How do I trouble shoot these? What can I check? There's nothing in apache's error log. I've got 138 active connections in TIME_WAIT and only 30 ESTABLISHED.

View 4 Replies View Related

Ubuntu Servers :: Samba Drops Connection When Transferring Large File

Jul 6, 2011

I'm experiencing connection problem when transferring a large file from Windows 7 (Home Premium) to my Ubuntu 11.04. The transfer starts, but after a couple of seconds the connection drops and all the shares are unavailable. I'm also unable to connect to the server over ssh, and the only thing I can do to restore the connection is to reboot the server. The strange part is that this was never a problem a couple of weeks ago, and I've not done anything to the setup on either machines besides installing security updates.

View 9 Replies View Related

Server :: Large File Transfer Over Scp Or Samba Crashes Wireless Connection?

Feb 3, 2010

I'm setting up a htpc system (Zotac IONITX-F based) based upon a minimal install of ubuntu 9.10, with no GUI other than xbmc. It's connected to my router (d-link dir-615) over a wifi connection configured for static IP (ath9k driver), with the following /etc/network/interfaces:

Code:

auto lo
iface lo inet loopback
# The primary network interface
#auto eth0

[code]....

Network is fine, samba share to the media direction works, until I try to upload a large file to it from my desktop system. Then it downloads a couple of percents at a really nice speed, but then it stalls and the box becomes unpingable (Destination Host Unreachable), even after canceling the transfer, requiring a restart of the network.

Same thing when I scp the file from my desktop system to the htpc, same thing when I ssh into the htpc, and scp the file from there. Occasionally (rarely) the file does pass through, but most of the time the problem repeats itself. Transfer of small text files causes no problems, and the same goes for the fanart downloads done by xbmc. I tried the solution proposed in this thread, and set mtu to 800 in the interfaces file, but the problem persists.

View 1 Replies View Related

Networking :: Large FTP Upload Slows And Fails?

Feb 3, 2010

I am programmatically doing a large FTP upload (about 5 Gb's of 2-3 Mb files) from my Windows 7 machine to a ProFTPd server on my Ubuntu box. When the program is run, transfer rates are huge! but as run time continues, transfer rates drop off significantly and eventually slow to a halt resulting in a:

Quote:

Read Timed Out

error.

The rest of the uploads fail due to Socket Read Errors.

Why is the transfer failing like this?

View 2 Replies View Related

Server :: Remote MySQL Server Connection Dies After Wget Large File

Feb 3, 2011

We have 2 servers, 1 is the webserver and the other is the Mysql server.

When transfering a 2GB file from the webserver to the Mysql server.

The webserver's connection to the mysql DB server dies completely.

Need to restart the MYSQL process in order for it to come back online.

During this connection downtime, when using phpmyadmin on the mysql server shows no problem running queries etc.

View 2 Replies View Related

Fedora Servers :: Apache Php Upload Not Work

Dec 24, 2010

I've write a php code to upload files. by move_uploaded_file. I've given 777 to the folder. But file upload unsuccess, error log show no premission. I test the code in Centos it wotks. I change the dest folder in Fedora to /tmp it works, but it only work on /tmp. neither /tmp/abc nor /temp. I guess it's a setting problem on apache or php. I also copy http.conf and php.ini from Centos, but mod_file_cache and mod_mem_cache not find in Fedora.

View 2 Replies View Related

General :: Upload Files Using Apache Configurations?

Nov 30, 2010

How do i upload files using apache configurations. ho do i do that. i am using centos.

because my client wants upload files through httpd.

View 4 Replies View Related

Fedora Security :: SElinux Apache Upload Denied

Jun 22, 2010

I want to be able to created directories and upload files (images mostly) via a php web page. The directory structure is a throwback to windows and I really really don't want to have to change it because there are so many files/links already there.

/cust/cust_name/site/version/web (all html/php files go here)

I want to be able to edit the files with a 3rd party tool (SSH based). These are small orgs, like my church, local community club, sports team, etc., so file ownership needs to sync with the editor, not apache.

[Code].....

View 5 Replies View Related

Ubuntu Networking :: Apache Throttle Upload 'and' Download Speeds?

Aug 9, 2011

I have installed libapache2-mod-bw and it works great to throttle download speeds to the clients (i.e. - the bandwidth out of the server can be controlled just peachy).However, I need to limit the bandwidth *into* the server from specific networks because my WAN links are tiny and do not have QoS or shaping of any sort (I know, I know - contracts in place - will be fixed in November - not my design).I know that there are ways to throttle this at the interface level (e.g. - wondershaper) but I'd like to allow full bandwidth to the clients that are connected locally. The server in question is for web file transfers (under apache2 on 443) and expected file sizes are up to 2GB so a per-network limit would prove helpful.

View 2 Replies View Related

Fedora Networking :: Config The Httpd Apache Server To Upload Files

Jan 6, 2011

my task is to store the data to a file at server sent via HTTP POST, i written suitable cgi script in C, but the PROBLEM is that i can't complete the task, I guess i require server permission to do so, how to configure server or how to get access right from server to store data to a file.

View 3 Replies View Related

Programming :: Adding Mod-Perl And Using Apache ASP?

Sep 16, 2010

I have a debian lenny machine that I am trying to add mod_perl to and use apache asp on. I have had a range of failures on it. Is ther a way I can build apache2 with mod_perl in it? Instead of separate. Apache2 is built with some modules built in by default, how can I make mod_perl one of them?

View 1 Replies View Related

Software :: Install Apache Server For Perl And PHP?

May 29, 2009

how to install Apache web server as I want to run my Perl and PHP scripts in web environment. what configuration I need for Perl and PHP. Does I also need some separate software/package/module for perl and PHP? I have experience of running ASP scripts with IIS in Windows environment but have no idea of Apache in Linux for Perl and PHP.

View 4 Replies View Related

Networking :: Apache Web Site With Perl Scripts Support?

Apr 28, 2011

teste.domain.com:

Code:
<VirtualHost *:80>
ScriptAlias /cgi-bin/ /home1/_sites/teste/site/cgi-bin/
<Directory /home1/_sites/teste/site/cgi-bin/>
Options FollowSymLinks +ExecCGI
AllowOverride None

[Code]...

View 2 Replies View Related

Software :: Apache Run Perl Then Create Index Page And Display It

Sep 15, 2010

I've got a perl script which generates an html file. What I'd really like to do is send people to just one page (the perl page) which then generates the html and shows the html page in question. Thus the whole transition will be invisible to the user, they'll just have an html page.FYI the perl script generates a list of the users who last logged in to the system, it needs to be up to date (by the second).Let me know if this isn't clear, I understand it sounds a bit confusing...

View 4 Replies View Related

Fedora Servers :: Cgi Perl Script On Apache Server Have Only Partial Success

Jul 9, 2009

I'm running an Apache web server version 2.2.11 on Fedora 10. I'm trying to get it to run a PERL cgi script but with only partial success. The script uses the PERL cgi package.

The perl script is a simple test case that creates a form to fill in. Once the submit button has been clicked it should then return the data submitted. The perl script writes this to a file called output.cgi

The intial script located in /var/www/cgi-bin/index.cgi gets executed fine when I go to [URL], this works with no probs. However once I hit the button to submit the data I then get the error

Not Found

The requested URL /cgi-bin/output.cgi was not found on this server. Apache/2.2.11 (Fedora) Server at localhost Port 80 Im not sure if its a perl problem or server setup problem, theres probably a simple switch or something but Im out of ideas at the moment.

View 6 Replies View Related

Server :: Perl Apache Session MySQL Inconsistency On Debian Lenny

Apr 11, 2011

I have been tearing my hair out with this. As part of a backend perl script i am holding the Epoch time as session data using apache session and mysql so i can delete sessions after an expiry period. When I retrieve the time it is about three months old even when i only just set it. The code example below best describes the problem:

View 5 Replies View Related

Fedora :: Files Corrupts - Upload A File (using Ftp Or Sftp) Some Weir Characters Are Included Inside The File

Mar 23, 2010

I just installed Fedora12 in a Core i3 machine... everything looks fine, but I have a huge problem... every time I upload a file (using ftp or sftp) some wier characters are included inside the file... for example.

[Code]......

View 6 Replies View Related

General :: Vsftp Cannot Upload File / Error 553 Cannot Create The File

Jul 26, 2010

I am testing my ftp server configuration.Anonymous download works , however anonymous upload does not.I am getting the following error message from both Windows and Linux 5.4clients : 553 cannot create the file.And i am running Fedore 12.

View 3 Replies View Related

Ubuntu :: SSH Connection Reset By Client Error

Jan 30, 2011

I'm having problem running open SSH. I have installed SSH, on my system, but when I run:ssh localhost.I get the error :Read from socket failed:Connection reset by peer.I get that same error when trying to connect from a different local computer.When I attempted to restart the service by typing: sudo /etc/init.d/ssh restart.I proceeded to generate a new set of keys by running, ssh-keygen -b 1024.But I get the same errors after doing so.

View 1 Replies View Related

Networking :: Ubuntu - Reset Router To Get Net Connection ?

Sep 11, 2009

I'm still kind of a linux newb, so I might just be missing a little bit of knowledge here, but I've been having some real problems getting my machine to connect to my wireless network under Ubuntu 9.04.

Here are my basic specs:

Intel Pentiumâ„¢ 4 CPU @2.66 GHz

1.5 GB RAM

3 HDDs: 1 40GB Maxtor internal, 1 320GB WD internal, 1 160GB Maxtor USB external.

OSes: Windows XP Home Edition (on Maxtor internal drive) Ubuntu 9.04 (on WD internal drive)

I don't think my video card would make any difference, so I won't list it on here...

Anyway, what happens is I try to connect (I select the network SSID from the pull-down list in the NetworkManager panel menu), and it seems to connect okay to the router, but I can't get out to the net. I can pull up a terminal and ping the router's address, but I get a "Destination Host Unreachable" message. It's as if, to the computer, the router isn't even there on that level, but it can still somehow connect to it.

Now, here's the strange part. If I reset the router from another (Windows) computer on the network (specifically, the one with a wired connection to it), then I can connect just fine and I can get out to the internet.

Even if you don't know specifically, but have some good ideas as to what might work, that's fine too. I hate having to do this every day, as it affects everyone's internet connection. Granted, it's not like I'm in a strict business situation with tons of machines and multiple access points, but there are 3 of us in the house and we all share internet access from the same router (as I'm sure most people do), and I feel kind of guilty having to interrupt everyone's connection, if even only for about 30 seconds just so I can get a net connection under Linux.

Windows connects to the router/internet just fine, btw. No problems there. I'm also using a NetGear WN111 USB wireless adapter, with the Windows drivers under ndiswrapper.

View 14 Replies View Related

Fedora Servers :: Idm-console Login Connection Reset

Jan 23, 2009

I am trying to get fedora-ds running on a machine. I can't log onto the console at all. If I use the command line below the log shows multiple instances on the following lines. fedora-idm-console -D 9 -x nologo

[Code]......

View 1 Replies View Related

Ubuntu :: Firefox The Connection Was Reset While The Page Was Loading

Mar 5, 2010

Why do I keep getting this error when I try to search something on google. It happens when my query has around five or more words. If a search for just one or two words I don't get the error. I know it's not google because it happens with bing, msn, and yahoo too. The connection was reset The connection to the server was reset while the page was loading.

* The site could be temporarily unavailable or too busy. Try again in a few moments.
* If you are unable to load any pages, check your computer's network connection.
* If your computer or network is protected by a firewall or proxy, make surethat Firefox is permitted to access the Web.

View 1 Replies View Related

Ubuntu :: Pipe Error 3 - Connection Reset By Peer

Jul 6, 2010

My system just crashed.
kduffy101@kduffy101-desktop:~$ firefox
WARNING: pipe error (3): Connection reset by peer: file ./src/chrome/common/ipc_channel_posix.cc, line 404
Segmentation fault
kduffy101@kduffy101-desktop:~$.

View 4 Replies View Related

Ubuntu Networking :: Rdesktop Connection Reset By Peer

Jul 15, 2010

I've happily been using rdesktop to access my MS Vista desktop from Ubuntu (Hardy) for a few months until a couple of days ago when it stopped working. Now if I try connecting I get the following:

[Code]....

I don't believe anything's changed on the client (Ubuntu) side. The Vista box is occasionally connected to a corporate intranet via VPN and it was after such a session that rdesktop stopped working, so perhaps a Windows group policy was modified during the session. I've checked the basics - can ping 10.1.1.2 from Ubuntu, can access port 3389. Have deleted ~/.rdesktop and ~/.tsclient.

Digging around the Vista client I noticed in Control Panel > System Properties > Remote that in the Remote Desktop sub-panel the Allow connections only from computers running Remote Desktop with Network Level Authentication setting is enabled and that the other two are greyed out. Now, I don't know whether this setting has been changed but I suspect that it might be the problem.

Unfortunately, I don't know enough about Windows to know how or even whether I can change this setting to Allow connections from computers running any version of Remote Desktop (less secure) I've poked around the group policy editor (gpedit.msc) but no joy.

View 9 Replies View Related

General :: The Connection To The Server Was Reset While The Page Was Loading

Aug 3, 2010

i'm using fedora 13 OS and installed web invoice application in my server. whenever i open the site, the problem on "connection to the server was reset..." is persistent. i was advised to clear the cache which i did. it work for a while but with just a few page loaded the same problem occur and i need to clear the cache. again i found a suggestion in the internet to add post_max_size = 48M file_uploads = On upload_max_filesize = 192M to the php5.ini. i also did this in my server, but the same problem occurs.

View 6 Replies View Related

Server :: Sendmail: Stat=Deferred: Connection Reset By [127.0.0.1]

Mar 17, 2010

I see in /var/log/maillog this error and I do this checks:

[Code]....

View 4 Replies View Related

Debian :: File Upload Using Firefox - Smaller Image File Is Previewed While Bigger Image File Is Not

Dec 16, 2015

I am trying to upload some pics on my Facebook account using Firefox. When I click on Facebook's file upload icon, Firefox bring up a 'File Upload' window. I noticed that smaller image file is previewed on the lower right hand corner, while bigger image file is not. Is there anyway I can change this behavior or maybe change what Firefox is using to browse my files?

View 2 Replies View Related

General :: View A Particular Ten Lines In A Large File Where Can't Open The File In Vi

May 12, 2010

I am using RHEL 5.I have a very large test file which cannot be opened in vi.The content of the file has some 8000 lines.I need to view ten lines between 5680 to 5690.How can i view these particular lines in a large file.what is command and option i need to use.

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved