Comments (9)
You like the hard ones. :) I'll see if I can reproduce it.
Reported by James.Moger
on 2011-09-09 13:19:28
from gitblit.
Yes :-) The good point here is that our installation is probably used by more than 70
people, so a good benchmark for gitblit :-)
Again not a real show stopper, the problem occurs after 1 week or so, and we can workaround
the issue by restarting gitblit GO. Maybe it's an issue with the GO edition and the
WAR edition is unaffected, but unluckily at present I have no time to switch to the
WAR edition.
Reported by gm.romanato
on 2011-09-12 15:56:48
from gitblit.
Problem occurred again: gitblit stopped serving CSS and images yesterday, and we restarted
it.
Reported by gm.romanato
on 2011-09-21 08:04:26
from gitblit.
What are your launch parameters for Java? Are you using the server or hotspot vm?
Is this Oracle Java or OpenJDK?
Reported by James.Moger
on 2011-09-21 11:54:26
from gitblit.
Sorry, I did not notice comment 4. In any case, we recently moved to the WAR distribution
and the problem is still present, so it is not limited to the GO edition.
We are using Jetty 7.5.1 to run WAR 0.60. Jetty is started using its own shell script
(which imposes -server switch). The JVM is Oracle's 1.6.24 64Bit on a Centos 5.5 x64
I now asked to restart the server in debug mode. I plan to remote debug the server
the next time the issue will show up.
Reported by gm.romanato
on 2011-11-07 10:00:22
from gitblit.
Gitblit relies on its servlet container and Wicket for resource management. In reviewing
the resource cache policy I see that I left the resource duration at its default (120
mins) which is too short for these static files.
I will adjust that for the next release and performance, all-around, should improve
- if only slightly. That may or may not change anything related to your problem.
It's a strange one. When you manage to get Gitblit back into this state of not sending
resource files, can you try fetching an image or css file with wget or curl? I'd be
interested to know if it fails that way too.
Reported by James.Moger
on 2011-11-07 13:54:29
from gitblit.
Are you still experiencing this issue? I have never experienced it myself.
Reported by James.Moger
on 2012-01-11 21:47:49
from gitblit.
Problem solved! Apparently our Linux installation automatically performs a scheduled
clean-up of the /tmp folder and deletes any resource that is both very old and has
not been modified for a long time.
Now, it turns out that gitblit-go extracts the images and the CSS in a subfolder of
/tmp. The same happens with gitblit.war deployed in Jetty, unless you tell Jetty to
use a custom temporary folder. Those resources remained unchanged and after the initial
WAR deploy and after some time were subject to the clean up process described above.
Restarting gitblit-go or Jetty solved the issue because in both cases the resources
were extracted again.
Don't know whether this is standard behaviour for Centos 5.5 or just a configuration
of our installation, but at least we finally spotted the issue.
Thanks for your help.
Reported by gm.romanato
on 2012-01-13 12:10:32
from gitblit.
Ah... I can't control what the servlet container does with a WAR file, but GO has a
setting to specify the temp folder (server.tempFolder) to which the resources are extracted.
Maybe I'll add that as a FAQ entry.
Reported by James.Moger
on 2012-01-13 12:52:45
- Status changed:
WontFix
- Labels added: Milestone-0.5.2
from gitblit.
Related Issues (20)
- Error when using ssh clone repository HOT 1
- Can not disable Gravatar in issue page HOT 1
- Garbled code in the comparison page with interface set to Simplified Chinese HOT 2
- Translation of fork as "分支" in Chinese has ambiguity HOT 3
- Maven artifacts are inaccessible HOT 1
- close() called when useCnt is already zero HOT 2
- docker run error N ] Illegal character 0x16 in state=START for buffer HOT 9
- failed to generate gitblit ca certificte HOT 2
- Many vulnerabilies HOT 1
- Support SSH with ED25519-key HOT 4
- How can I specify the JDK version when Gitblit Starts? HOT 2
- Make code IntelliJ friendly? HOT 3
- Let non-admin user create nested repository groups
- Cannot view private repositories
- Missleading message "You have already merged this patchset." when attempting to push ticket patchest branch without any commit on it.
- Ignore whitespace changes -- no config on Server side?
- A gift, an android platform solution for gitblit. PR too troublesome.
- Possible corruption of user.conf
- When ssh clones more than 2G libraries, "Cannot upload pack:" appears.
- Please Check Your Email Regarding a Security Vulnerability
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gitblit.