Hello, I''m working on a site using Tobias'' wonderful PayPal IPN class, which requires me to essentially develop that portion on the server. I''m running lighttpd on TextDrive, and seeing strange behavior. The problem is that some of the controllers don''t seem to update when I ''svn commit'' from my laptop and ''svn update'' from the server. The views do, but not always the controllers. It''s really really strange. Like when PayPal calls my paypal_ipn controller, I can clearly see in the log that it''s writing log info at the correct time and everything, but calling code that I''ve changed an hour ago! Very, very strange. Anybody have any suggestions as to how to fix this? I''ve killed and restarted the lighttpd instance, but that doesn''t seem to have any effect. I have no caching set up for lighttpd (it''s turned off in the config) so I''m stumped. Please help! Raymond
On Jun 29, 2005, at 4:20 PM, Raymond Brigleb wrote:> Hello, > > I''m working on a site using Tobias'' wonderful PayPal IPN class, > which requires me to essentially develop that portion on the > server. I''m running lighttpd on TextDrive, and seeing strange > behavior. > > The problem is that some of the controllers don''t seem to update > when I ''svn commit'' from my laptop and ''svn update'' from the > server. The views do, but not always the controllers. It''s really > really strange. Like when PayPal calls my paypal_ipn controller, I > can clearly see in the log that it''s writing log info at the > correct time and everything, but calling code that I''ve changed an > hour ago! Very, very strange. > > Anybody have any suggestions as to how to fix this? I''ve killed and > restarted the lighttpd instance, but that doesn''t seem to have any > effect. I have no caching set up for lighttpd (it''s turned off in > the config) so I''m stumped. Please help! > > RaymondYour dispatch.fcgi processes aren''t turning over. Kill those as well. Also make sure that you''re using the restart script in manuals which "kill HUPs cats" the pid. Try that one a few times and make sure that your fcgis and sockets are clearing out afterwards. - Jason
On 6/29/05, Jason A. Hoffman <jason-xKtDo/uLHBtl57MIdRCFDg@public.gmane.org> wrote:> On Jun 29, 2005, at 4:20 PM, Raymond Brigleb wrote: > > Hello, > > > > I''m working on a site using Tobias'' wonderful PayPal IPN class, > > which requires me to essentially develop that portion on the > > server. I''m running lighttpd on TextDrive, and seeing strange > > behavior. > > > > The problem is that some of the controllers don''t seem to update > > when I ''svn commit'' from my laptop and ''svn update'' from the > > server. The views do, but not always the controllers. It''s really > > really strange. Like when PayPal calls my paypal_ipn controller, I > > can clearly see in the log that it''s writing log info at the > > correct time and everything, but calling code that I''ve changed an > > hour ago! Very, very strange. > > > > Anybody have any suggestions as to how to fix this? I''ve killed and > > restarted the lighttpd instance, but that doesn''t seem to have any > > effect. I have no caching set up for lighttpd (it''s turned off in > > the config) so I''m stumped. Please help! > > > > Raymond > > Your dispatch.fcgi processes aren''t turning over. Kill those as well. > > Also make sure that you''re using the restart script in manuals which > "kill HUPs cats" the pid. Try that one a few times and make sure > that your fcgis and sockets are clearing out afterwards.Jason, So, if I want to have a script that automatically exports a svn-tagged release into a directory on TxD, updates a symlink to point to the new directory, and restarts lighttpd, what needs to happen to properly restart lighttpd? Currently I''m just doing kill `cat $HOME/lighttpd/lighttpd.pid` && /usr/local/sbin/lighttpd -f $HOME/lighttpd/lighttpd.conf Is that not trustworthy enough?
On Jun 29, 2005, at 5:54 PM, Joe Van Dyk wrote:> > kill `cat $HOME/lighttpd/lighttpd.pid` && /usr/local/sbin/lighttpd -f > $HOME/lighttpd/lighttpd.conf > > Is that not trustworthy enough?Hi Joe, That''s perfect. It''s the "just killing the lighttpd process" that leaves this stuff lying around. - Jason