unicorn Ruby/Rack server user+dev discussion/patches/pulls/bugs/help
 help / color / mirror / code / Atom feed
* Unicorn not working in GitLab 7.3
@ 2014-10-06 15:04 Onno van der Straaten
  2014-10-06 15:07 ` Onno van der Straaten
  0 siblings, 1 reply; 3+ messages in thread
From: Onno van der Straaten @ 2014-10-06 15:04 UTC (permalink / raw)
  To: unicorn-public

[-- Attachment #1: Type: text/plain, Size: 323 bytes --]

Hi,
I am using unicorn in GitLab 7.3. I found that unicorn will not serve
javascript files. There is no response. Other files such as css files work
fine.

I have created an issue at the GitLab site as unicorn is part of his
product. For your information
https://github.com/gitlabhq/gitlabhq/issues/7973
Best Regards,
Onno

[-- Attachment #2: Type: message/external-body, Size: 84 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Unicorn not working in GitLab 7.3
  2014-10-06 15:04 Unicorn not working in GitLab 7.3 Onno van der Straaten
@ 2014-10-06 15:07 ` Onno van der Straaten
  2014-10-07  5:08   ` Eric Wong
  0 siblings, 1 reply; 3+ messages in thread
From: Onno van der Straaten @ 2014-10-06 15:07 UTC (permalink / raw)
  To: unicorn-public

[-- Attachment #1: Type: text/plain, Size: 582 bytes --]

This is unicorn 4.6.3 btw. On the other machine it is the same
version 4.6.3. So maybe this issue is releated to using unicorn on CentOS.

On Mon, Oct 6, 2014 at 5:04 PM, Onno van der Straaten <
onno.van.der.straaten@gmail.com> wrote:

> Hi,
> I am using unicorn in GitLab 7.3. I found that unicorn will not serve
> javascript files. There is no response. Other files such as css files work
> fine.
>
> I have created an issue at the GitLab site as unicorn is part of his
> product. For your information
> https://github.com/gitlabhq/gitlabhq/issues/7973
> Best Regards,
> Onno
>
>

[-- Attachment #2: Type: message/external-body, Size: 84 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Unicorn not working in GitLab 7.3
  2014-10-06 15:07 ` Onno van der Straaten
@ 2014-10-07  5:08   ` Eric Wong
  0 siblings, 0 replies; 3+ messages in thread
From: Eric Wong @ 2014-10-07  5:08 UTC (permalink / raw)
  To: Onno van der Straaten; +Cc: unicorn-public

Onno van der Straaten <onno.van.der.straaten@gmail.com> wrote:
> On Mon, Oct 6, 2014 at 5:04 PM, Onno van der Straaten wrote:

(Top-posting corrected.  Please do not send HTML email as it ends up
 marked as spam.  You would've gotten a response much earlier if you
 sent as plain text)

> > Hi,
> > I am using unicorn in GitLab 7.3. I found that unicorn will not serve
> > javascript files. There is no response. Other files such as css files work
> > fine.
> >
> > I have created an issue at the GitLab site as unicorn is part of his
> > product. For your information
> > https://github.com/gitlabhq/gitlabhq/issues/7973

This doesn't seems to be a configuration error or a bug in GitLab.
unicorn itself does not serve files, but just returns what Rack tells
it to do.

But since you're getting 60s timeouts, something seems seriously wrong
with that config; but at least you're on Linux so maybe strace can
help...

> This is unicorn 4.6.3 btw. On the other machine it is the same
> version 4.6.3. So maybe this issue is releated to using unicorn on CentOS.

Can you try:

1) configuring only single worker process
2) strace that worker process (strace -p $PID_OF_WORKER)
3) send only one request for a JS file to see what's happening?


In any case, if this GitLab instance is meant for any slow/unreliable
client connections outside your LAN, nginx should be serving static
files.  unicorn is grossly inefficient for that (as explained on our
website):

  http://unicorn.bogomips.org/PHILOSOPHY.html

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-10-07  5:08 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-10-06 15:04 Unicorn not working in GitLab 7.3 Onno van der Straaten
2014-10-06 15:07 ` Onno van der Straaten
2014-10-07  5:08   ` Eric Wong

Code repositories for project(s) associated with this inbox:

	../../../unicorn.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).