Skip to content

Bleve indexer stuck on large repo #20020

Closed
@Fogapod

Description

@Fogapod

Description

I'm running gitea on weak hardware with just 1 cpu. I got linux kernel mirror to work but code indexing is in a weird state.
Here is what admin ui shows:
image
All other repos have commit shown so indexer works otherwise.

When i add reindexing to queue, multiple processes appear in system and run for a couple minutes, then they disappear. There are no dmesg OOM messages, there are no gitea logs about it. Gitea admin ui still shows them as running:
image

Code search works, at least partially:
image

I have nothing interesting in config:

[indexer]
REPO_INDEXER_ENABLED = true

gitea.com has linux source. I wonder what is the state of indexer there? https://gitea.com/marktsai0316/linux
gitea.com has indexer disabled

Gitea Version

1.17.0+dev-751-g433443ffa built with GNU Make 4.3, go1.18.1 : bindata

Can you reproduce the bug on the Gitea demo site?

No

Log Gist

No response

Screenshots

No response

Git Version

2.34.1

Operating System

Ubuntu 22.04 LTS

How are you running Gitea?

Locally compiled binary

Database

PostgreSQL

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions