Hello, All:

I have a php enabled site, and as of late it's been doing the strangest thing, when I make any changes to any of the pages residing under the main html site folder, they seem to take forever to upload (be it pages or images); but if I make any changes to any files under a sub-folder, they upload just fine!...

I thought maybe my database-mysql connections were the problem, or maybe the include files, but it seems to do it even in a regular html file, or an image, so not sure what the hell is going on. I have other sites with same server company, and they are working fine too; so I dont think it's problem on the server-compnay side.

I work with Dreamweaver, so I re-checked settings, even reloaded the software and reset all, but nothing. The main-folder files still take forever to upload. Does anybody there has any ideas why its doing this??

Thanks!

Dani AI

Generated

Thread notes and next steps that go beyond the suggestions already posted by and .

The symptom (uploads to the site root are slow while subfolders are quick) usually points to something happening on the host side that is scoped to that directory rather than a generic client bug. Useful, verifiable checks fall into three groups: quick server-side status, server process/config checks, and client/protocol isolation. Collecting the outputs below will make it easy for your host to diagnose.

Server-side status to ask for or run (if you have SSH)

df -h            # free space on filesystems
df -i            # inode exhaustion
du -sh /path/to/webroot    # size of the webroot
ls -ld /path/to/webroot    # ownership and perms
mount | grep /path          # filesystem type (local vs NFS/CIFS)
ls /path/to/webroot | wc -l # file count in the root
iostat -x 1 3 /dev/sdX      # check disk I/O during a test upload

What to look for: full disks or inodes, webroot on a different mount (NFS/CIFS), huge file counts in the root that make directory operations slow, or high iowait during uploads.

Server process/config checks to ask the host to review

  • FTP server logs (timestamped transfer records) and webserver error logs for hooks triggered on writes.
  • Any on-access antivirus/mod_security or monitored scripts bound to the webroot path.
  • Per-user quotas, chroot settings or ACLs applied to the top-level folder that are not applied to subfolders.
  • Differences in filesystem mount options (sync vs async) that can make writes appear slow.

Client/protocol isolation

  • Try an alternative transfer method the host provides (SFTP or the control-panel file manager) and compare timings.
  • Enable verbose logging in the FTP client and capture the upload timestamps to compare with server logs.

References: a short primer on FTP networking issues and passive/active behavior is in the FileZilla docs (Network Configuration), and a practical reference on ownership/permission checks is here ().

If none of the checks show obvious issues, collect the timestamps and logs and forward them to the hosting support — they can correlate the upload request with server-side activity and identify the exact bottleneck.

Recommended Answers

All 3 Replies

Try other ftp applications. If those also take a long time, try another pc or contact your server admin to see if the problem can be duplicated. If the problem can be duplicated in other locations then it must be on the server's end, or something very strange is going on. :S

Hello, All:

I have a php enabled site, and as of late it's been doing the strangest thing, when I make any changes to any of the pages residing under the main html site folder, they seem to take forever to upload (be it pages or images); but if I make any changes to any files under a sub-folder, they upload just fine!...

I thought maybe my database-mysql connections were the problem, or maybe the include files, but it seems to do it even in a regular html file, or an image, so not sure what the hell is going on. I have other sites with same server company, and they are working fine too; so I dont think it's problem on the server-compnay side.

I work with Dreamweaver, so I re-checked settings, even reloaded the software and reset all, but nothing. The main-folder files still take forever to upload. Does anybody there has any ideas why its doing this??

Thanks!

Thats pretty odd.
If you're up to it you could try downloading wireshark http://www.wireshark.org/.
On linux you can just use the package manager for your distro. Eg: on Debian: apt-get install wireshark

Fire it up when you are about to make a file upload. You should be able to view the FTP session in progress and see what's slowing it down..

thanks both of you for your replies...
Gonna check over the wireshark too and see how it goes.

Thanks!

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.