From a previous posting from Pollard: "It is worth noting that FTP upload is full-speed. Also noteworthy is that the CPU on this box is going to 100% when I download via FTP (45% user/55% system)." I setup a Dell 700mhz machine with Fedora Core 1 and Zope 2.7 with Python 2.3 and experienced a similar occurence on the client machine when trying to do the first upload to the server. That is, the client machine went down to almost 0 ram available when connecting to the Zope ftp server with a Dreamweaver4 client. I tried the old WAR FTP Client and upon connecting the ram went down to almost 0. In both instances I killed the ftp client so I wouldn't have to reboot the client and used System Mechanic 4's ram defrag utility to recover lost ram on my W2k client. I couldn't put a file on the server at all. Having used DW on at least 3 different servers having run at least 4 different versions of Zope since the my first installation I found Dreamweaver _always_ needed Passive FTP turned on. For this new site I turned off Passive FTP on the client and connected to the Zope 2.7 with virtually no problem. One or two files originally did not transfer well but after that files transfer fine. I don't know if this might shine some new light on this but I don't recall seeing Passive FTP mentioned in any other threads on this topic except for excerpts from connections that showed going into Passive Mode on the server. I hadn't tried a large file before so I've just tested a 4mb file with Dreamweaver 4 not passive ftp put 800k/s get 25k/s To me this would appear to be a server side change because of the Passive FTP setting, but I'm not sure if it is in the OS or Zope. Thomas On Tue, 2 Mar 2004 16:06:34 -0700, Edward Pollard <pollej@uleth.ca> wrote:
While we're working on trying to find alternate solutions, we've decided to go back to Zope 2.6.0 to serve the data in the system we've developed over the last year and a half.
We took a box, running RedHat 9, and installed Zope 2.6.0 as follows:
Install directory: /usr/local/zprod
python: # export CC="gcc -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/kerberos/include" # ./configure --prefix=/usr/local/zprod/python --with-threads # make # make install
Zope: # cd /usr/local/zprod # tar -zxvf /web/zsup/src/Zope-2.6.0-src.tgz # mv Zope-2.6.0-src Zope-2.6.0 # ln -s Zope-2.6.0 zope # chown -R apache:zopeadmins Zope-2.6.0 # cd zope # su apache -s /bin/sh -c "/usr/local/zprod/python/bin/python2.1 ./wo_pcgi.py" # /usr/local/zprod/python/bin/python2.1 ./zpasswd.py inituser and testrun: # su apache -s /bin/sh -c "./start"
Works like a charm.
We used the exact same steps for Zope 2.6.4. FTP downloads run at 10k/sec.
Anyone see any problems with this? Anyone else using RedHat 9?
We're going to try an install on Debian tomorrow.
Ed
_______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
-- Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/