Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8120147
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T05:02:03+00:00 2026-06-06T05:02:03+00:00

I have a CVS server with thousands of CVS repositories hosted on it. It

  • 0

I have a CVS server with thousands of CVS repositories hosted on it. It runs with a typical configuration where projects that allow anonymous pserver access are added to the cvs command line with an --allow-root argument. The problem is, there are so many projects, that the cvs command now results in an "argument list too long" error.

At this time, my current solution has been to hack the CVS source code, changing the CVS command line argument from "--allow-root" to "--ar". It works, but the possibility exists that I will, at some point, exceed the command line length again.

I examined using xargs. The problem with it, it appears that it would have to run the CVS command for each repository, one at a time, until it finds the one specified in the incoming CVS command.

I tried to write a wrapper that could get the repository name from the incoming client command line, but I was unable to do so. Possibly just a lack of knowledge on my part, but I tried for a while, and couldn’t find a method that worked.

I looked at the cvs-pserver script, but it does the same thing, places all the repositories in the command line.

I looked at cvsd, and it too has the same limitation.

I’m officially out of ideas. The most elegant solution is the cvs wrapper that can get the repository name from the incoming client command. I’d love to see that work, but any useful input would be greatly appreciated.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-06T05:02:05+00:00Added an answer on June 6, 2026 at 5:02 am

    In Linux kernels >= 2.6.23, this issue has been addressed somewhat. The maximum argument list size was increased to about 25% of the maximum stack size.

    On my Linux 64-bit system, where the maximum stack size is by default about 8MB, that leaves about 2MB of space for the argument list. With 100 bytes each for example, that allows for about 20,000 program arguments.

    Since you are using a 2.6.18 kernel, you should look at updating you kernel. This should work around this particular issue and you would gain all the additional benefits (and hassles, I suppose) of a newer kernel.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We have a server which stores the source code of multiple projects using CVS.
We have been using gforge server for cvs/svn. Now we are moving to git.
I have setup an anonymous cvs user to be able to check out my
With cvs one can export the files that have a specific tag and get
I'm trying to check out files from our CVS Repository (I have access, but
I have an app hosted on SourceForge (https://sourceforge.net/projects/pokedroid/). I decided to add a button
I have a large number of projects setup in Git that were previously managed
First, let me explain what I am doing. I have a CVS repository that
I have a section in a POM that looks something like this: <scm> <connection>scm:cvs:ext:myhostname:/cvsroot/repo:module_name</connection>
I have ubuntu server running and CVS is installed on it. I'll be managing

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.