Displaying 20 results from an estimated 3000 matches similar to: "Lighttpd stops after serving 2 requests."
2012 Feb 06
2
[LLVMdev] misc questions on opt and bitcode
Hi Eric,
Here's the C code (example.c):
include <stdio.h>
int main()
{
printf("testing\n");
}
Here's the LLVM IR (from llvm-gcc):
ModuleID = 'example.c'
target datalayout =
"e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64"
target triple =
2006 Mar 22
0
Lighttpd aliased does not render css or images - please help!
Hello all,
I''m very badly in need of help here. I''m sooo close to this solution, and I
WILL be blogging this when I finally have it working.
I''m using Lighttpd + Mongrel + aliased app. I have the basic alias
working. http://localhost/myapp/ renders the routed :controller/:action as
does http//localhost/myapp/controller/action for production pages.
The page source
2006 Jan 29
4
ruby can''t open library: /Library/MySQL/lib/mysql/libmysqlcl
When I try to start a Rails app, I get the following error:
ruby can''t open library:
/Library/MySQL/lib/mysql/libmysqlclient.12.dylib
I''m on OS X and was previously using Complete MySQL. Recently, I
upgraded to MySQL 4.1 using the regular MySQL installer.
I think that this problem probably occurred after that upgrade, as I
have not used Rails after upgrading (about a couple
2012 Feb 06
0
[LLVMdev] misc questions on opt and bitcode
On Feb 5, 2012, at 11:32 AM, Arpan Sen wrote:
> For the very simple example below, I get Unknown instruction error from lli and llvm-dis, while llc does not print anything. Not sure what is that I am missing here. My llvm-gcc version is i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.1.00)
> 1-39-155-188:pastebin Babai$ llvm-gcc example.c
2012 Feb 05
2
[LLVMdev] misc questions on opt and bitcode
Hi,
For the very simple example below, I get *Unknown instruction error from
lli and llvm-dis*, while* llc does not print anything*. Not sure what is
that I am missing here. My llvm-gcc version
is i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build
5658) (LLVM build 2336.1.00)
1-39-155-188:pastebin Babai$ cat example.c
#include <stdio.h>
void hello()
{
2006 Sep 03
7
using polymorphic associations with acts_as_list
This is what I have
class Photo < ActiveRecord::Base
belongs_to :image, :polymorphic => true
acts_as_list :scope => image
end
class Place < ActiveRecord::Base
has_many :photos, :as => :image
end
class Child < ActiveRecord::Base
has_many :photos, :as => :image
end
I want to be able to reorder the images. What I need is for the
position of the photos to be set
2006 Jan 23
8
OT: Problem rotating logs with lighttpd
Hi everybody,
this is a little OT. We are using Lighttpd as a webserver for Rails.
Our problem is that when we rotate the logs everyday at the end of the
process, lighttpd stops writing the logs. To solve this we have to
restart the server manually each time.
We use a common Debian, lighttpd-1.4.7, Rails 1.0 and fcgi-2.4.0.
I have tracked the lighttpd bugs, and I haven''t found
2012 Jan 22
0
[LLVMdev] CreateGlobalStringPtr giving linker errors
Probably your g++ compiles x86_64 binary by default, but i686 dylib is supplied?
Try:
g++ -m32 e.cpp /Developer/Platforms/iPhoneOS.platform/Developer/usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin10/4.2.1/libllvmgcc.dylib
- D.
2012/1/22 Arpan Sen <arpansen at gmail.com>:
> Hi,
>
> I am trying to use some LLVM API in my C++ code, and I end up getting linker
> errors. I am
2006 Jan 26
2
Run fastcgi in Apache 1.3, or proxy through lighttpd?
I''m working with a guy who has Apache 1.3 installed on his server, and
it''s not an option to simply use lighttpd for a Rails application I''m
helping him with. I''ve seen that Apache 2 apparently is crappy when
it comes to fastcgi, but 1.3 isn''t so bad. I can then either just run
my app straight in Apache, or I could proxy it through to lighttpd.
Which
2006 Mar 12
1
restart ROR app running on Apache, FCGI (textdrive)
I have an app running on Apache and FCGI (on Textdrive). It is
displaying an error, and I need to restart it, but have no idea how to
do it.
Could anyone advice me on that?
What are the commands to be used to start,stop and restart apps running
on Apache and FCGI. I also want to make sure that apps on my other
subdomains are not affected.
Thanks for the help.
Arpan
--
Posted via
2006 Feb 15
5
Lighttpd now works for production. Development is broken?
I''ve finally gotten lighttpd working for my production instance (SUSE
10.0 with SSL).
(Had to install the fcgi dev toolkit, the SUSE 10 ruby-fcgi rpm, and
the fcgi gem. I''m not positive all 3 were required, but that is what
I did.)
Now the devel instance of my app is broken.
I''m not sure how to fix it.
Previously I was using WEBrick for both devel and production.
2006 Feb 02
1
FYI lighttpd 1.4.9 has problems running with rails out-of-the-box
In case this helps anyone I recently finished setting up a Debian server
closely following Ezra''s excellent guidance @
http://brainspl.at/rails_stack.html.
I used newer libraries in some cases (and mysql 5.0) and everything worked
great until the end when lighttpd wouldn''t start. I finally figured out
that Lighty 1.4.9 has a problem working with rails out-of-the-box. See
2012 Jan 23
1
[LLVMdev] Code crashing in CreateGlobalStringPtr, passes when I add code for main routine + entry
Hi All,
The following crashes in CreateGlobalStringPtr:
#include "llvm/Support/DataTypes.h"
#include "llvm/LLVMContext.h"
#include "llvm/Module.h"
#include "llvm/Constants.h"
#include "llvm/Function.h"
#include "llvm/BasicBlock.h"
#include "llvm/ExecutionEngine/ExecutionEngine.h"
#include
2008 Mar 11
2
xen configuration variables
Hi
Is there any link from where i can get complete information about the
variables used in xen domu configuration in details
like hvm, pae, acpi, apic, device_model etc and when to use which variable
thansk
_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users
2006 Jan 28
3
App running fine on Webrick, ActiveRecord::ConnectionNotEstablished in lighttpd
My app runs fine on webrick, but I get a
ActiveRecord::ConnectionNotEstablished when I try to run it on
lighttpd. Here''s the app''s lighttpd config:
$HTTP["host"] =~ "(www\.)?mysite\.com" {
server.document-root = "/home/pergesuteore/public/"
server.error-handler-404 = "/dispatch.fcgi"
fastcgi.server = ( ".fcgi" =>
(
2008 Feb 25
4
cpu does not support long mode. use 32 bit distribution.
hi all
i am trying to boot from rhel5.1 x86_64 image. with the following
configuration
kernel = "/usr/lib/xen/boot/hvmloader"
builder=''hvm''
memory = 3048
name = "rhel51"
vcpus=1
cpus = ""
vif = [ ''type=ioemu, bridge=xenbr0'' ]
disk = [ ''phy:/dev/cciss/c0d0p7,ioemu:hda,w'',
2012 Feb 06
0
[LLVMdev] misc questions on opt and bitcode
Works for me:
[jhereg:~/tmp] echristo% /Volumes/Data/builds/build-llvm/Debug+Asserts/bin/clang -S -emit-llvm foo.cpp
[jhereg:~/tmp] echristo% lli foo.s
testing
[jhereg:~/tmp] echristo% llvm-gcc -S -emit-llvm foo.cpp
[jhereg:~/tmp] echristo% lli foo.s
testing
the first is using top of tree clang. The second is using an llvm-gcc on my OS. What versions are you using?
-eric
On Feb 6, 2012, at
2005 Dec 08
3
lighttpd proxy w/ apache2
I''ve tried a bunch of things trying to get ruby/apache2 and php working
together. I looked over my earlier post and followed the instructions
on ezra''s website to install lighttpd on debian. I''ve gotten really far
but I think there is one bit missing:
1. I got apache2 and php working together
2. I got lighttpd working on port 3000 and my rails app launches ok
2006 Feb 10
3
Lighttpd segfaults on first access
I just got a new Debian Sarge server and followed the brainspl.at
"Debian Lighttpd Rails Stack" tutorial.
The only place I deviated was the version of Lighty. The page uses
1.4.7 and I spotted that 1.4.10 was available. I installed that and
couldn''t get anywhere. Lighty died on first access from the test
rails app, and even from a ultra basic static config. No log,
2006 Feb 24
4
lighttpd and Apache .. will they play together?
Can someone point me to a tutorial or web example of doing this ...
I want to have a site that is normally pure content served via Apache and I
want to set up a Rails app on the same box that is served via lighttpd. Now
I want the Apache site to be able to retrieve formatted pages for MySQL
database queries by the Rails app. I will also be using ActionMailer under
the Rails app.
How can I