I setup gogs on my DigitalOcean virtual machine with 1 cpu, 1GB RAM and a 30GB SSD. It works well with small repositories and everything is snappy. To test how gogs handles larger repositories, I cloned/imported the git repository to my gogs installation. Everytime I open the repository through the web interface, it takes at least 5 seconds to load and CPU usage hovers at 95% and memory at 900MB. So i assumed my virtual machine resources were insufficient. So I resized the virtual machine and gave it 8 CPU cores and 16GB of RAM. Yet, loading the git repository still takes around 5 seconds. My guess is that it's either a configuration issue or a problem with gogs itself and the way it handles git repositories. Is there a way to get gogs to work fast with large repositories?
1条回答 默认 最新
悬赏问题
- ¥15 用C语言实现语音的读取及播放
- ¥15 poi怎么在指定位置之后生成多个表格
- ¥15 nginx在location设置了client_max_body_size依旧报错413
- ¥15 C#添加WCF服务引用客户端调用方法没有反应
- ¥15 stm32f103c8t6与esp8266
- ¥15 使用Hadoop的MapReduce program
- ¥15 Python发生IndexError错误如何解决?
- ¥15 如何用matlab搭建激光器
- ¥15 51单片机两路互补SPWM输出全桥逆变
- ¥15 outlook左边用户名下拉为啥打不开了