Livecode Server on Dreamhost fails in Ubuntu upgrade

Phil Davis revdev at pdslabs.net
Tue Nov 11 13:42:57 EST 2014


One thing I noticed is that script execution speed seems to have gotten 
dreadfully slow in 64-bit 7.0 - roughly 6x slower. I ran "door-to-door" 
timings from a desktop stack against the same script on two different 
servers, the DH server running 7.0.0 and the on-rev server running 
6.1.0. While other factors may be involved, I still assume most of the 
difference is because of the engine differences. Of course I'm open to 
correction if you have better info. The speeds of the 2 servers were 
roughly the same when I was using 6.x on the DH server.

"test2.lc" server script:
<?lc
put "LC version" && the version & CR & "SYSTEM VERSION"  && the 
systemVersion & CR & the time & CR after tOutput
repeat with x = 1 to 3
     put x & CR after tOutput
end repeat
put CR
put the keys of $_SERVER into tList
sort lines of tList
repeat for each line tKey in tList
     if $_SERVER[tKey] is an array
     then put "[" & tKey & "]" & CR after tOutput
     else put tKey && "=" && $_SERVER[tKey] & CR after tOutput
end repeat
put tOutput
?>


Client button script:
on mouseUp
     put the milliseconds into tStart
     put url "http://one.server.or.the.other.com/test2.lc" into tOutput
     put the milliseconds - tStart && "millisecs" into fld "time1"
     put tOutput into fld "output1"
end mouseUp


Results:
--- server 1 --- (DH)
LC version 7.0.0
SYSTEM VERSION Linux 3.2.61-grsec-modsign
1:22 PM
... etc

--- server 2 --- (on-rev)
LC version 6.1.0
SYSTEM VERSION Linux 3.8.13-xxxx-grs-ipv6-64
10:22 PM
... etc

I filed bug #13983 on this.
http://quality.runrev.com/show_bug.cgi?id=13983

Phil




On 11/10/14 10:37 PM, stephen barncard wrote:
> So the 64 bit version of Livecode Server works now, on my Livecode only
> sites.
>
> I'm still having problems with having PHP and LIVECODE being available at
> the same time with DH on Ubuntu.
>
> surely there must be some way to get old htaccess directives to work to
> retain the PHP.
>
>
>
> On Mon, Nov 10, 2014 at 12:07 AM, stephen barncard <
> stephenREVOLUTION2 at barncard.com> wrote:
>
>> This htaccess file used to allow both php and livecode to co-exist:
>>
>> Options +ExecCGI FollowSymLinks
>> AddHandler livecode-script .lc .irev
>> AddHandler php5-script php htm html
>> DirectoryIndex index.irev index.lc index.html index.php dir.irev
>> video.irev audio.irev gallery.irev
>> Action livecode-script /cgi-bin/livecode-server/livecode-community-server
>>
>
>
> *--*
> *Stephen Barncard - San Francisco Ca. USA - Deeds Not Words*
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>

-- 
Phil Davis





More information about the use-livecode mailing list